Re: Select by priority
От | kumar1@home.com (Prasanth A. Kumar) |
---|---|
Тема | Re: Select by priority |
Дата | |
Msg-id | m34s5ocgeo.fsf@C654771-a.frmt1.sfba.home.com обсуждение исходный текст |
Ответ на | RE: Select by priority ("Gary J. Farmer" <farmer@arlut.utexas.edu>) |
Список | 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 по дате отправления: