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: m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com (view raw or flat)
Thread:
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:
<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(at)home(dot)com

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-2014 The PostgreSQL Global Development Group