pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kumar1@home.com
To: pgsql-sql@postgresql.org
Subject: Re: Select by priority
Date: 17 Jul 2000 19:37:35 -0700
Message-ID: <m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com> (raw)
References: <NDBBKNPOIKAFAGAOPAPNCEMCCBAA.farmer@arlut.utexas.edu>

"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



view thread (6+ messages)

Message-ID: <m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com>
Permalink:  ../m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com/
Also on:    postgresql.org/message-id/m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: kumar1@home.com
  Subject: Re: Select by priority
  In-Reply-To: <m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com>
  References: <NDBBKNPOIKAFAGAOPAPNCEMCCBAA.farmer@arlut.utexas.edu> <m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox