Re: Select by priority - Mailing list pgsql-sql

From kumar1@home.com (Prasanth A. Kumar)
Subject Re: Select by priority
Date
Msg-id m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com
Whole thread Raw
In response to RE: Select by priority  ("Gary J. Farmer" <farmer@arlut.utexas.edu>)
List pgsql-sql
"Gary J. Farmer" <farmer@arlut.utexas.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:
<snip> 
> 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
kumar1@home.com


pgsql-sql by date:

Previous
From: Carolyn Lu Wong
Date:
Subject: Database authentication and configuration
Next
From: "Gerhard Dieringer"
Date:
Subject: strange error message