Skip site navigation (1) Skip section navigation (2)

Re: Select by priority

From: kumar1(at)home(dot)com (Prasanth A(dot) Kumar)
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Select by priority
Date: 2000-07-18 02:37:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
"Gary J. Farmer" <farmer(at)arlut(dot)utexas(dot)edu> writes:

> >>  I think the order thing will work though I have no choice of using
> >>  numbering for the address_type as I am working off a pre-existing
> >>  database. They are using a mnemonic char type. I am essentially batch
> >>  downloading and processing this and other database tables for query
> >>  and presentations using web pages. BTW, does the 'limit' feature exist
> >>  in Oracle? The main database I am extracting data from is Oracle...
> I do not know whether you can add a table associating "priority" with
> "address_type".  If you can, you might try something like the following
> example, using the address_priority table:
> Appears to work with either Oracle or Postgres (though I changed VARCHAR
> to VARCHAR2 for Oracle).
> Gary Farmer

That looks like a workable solution. I'll try it out. Thanks...

Prasanth Kumar

In response to

pgsql-sql by date

Next:From: Gerhard DieringerDate: 2000-07-18 06:29:20
Subject: strange error message
Previous:From: Carolyn Lu WongDate: 2000-07-18 02:01:46
Subject: Database authentication and configuration

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group