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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-sql by date

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