Fake table name?

Поиск
Список
Период
Сортировка
От Roderick A. Anderson
Тема Fake table name?
Дата
Msg-id Pine.LNX.4.10.10010021358250.12140-100000@altoplanos.net
обсуждение исходный текст
Список pgsql-general
I know I've seen this but can't even begin to guess where that was so I'll
ask.  I need to add a fake entry to a UNION.  A row that doesn't exist in
the table and shouldn't.  It's for a CGI script where I want the user have
the all/none/whatever option.

    select tbl_key, equipname from equipment
    UNION
    select 'All', 'All Equipment' from ???

   Heck I can't even remember what is was called in Oracle.


TIA,
Rod
--
Roderick A. Anderson
raanders@altoplanos.net               Altoplanos Information Systems, Inc.
Voice: 208.765.6149                            212 S. 11th Street, Suite 5
FAX: 208.664.5299                                  Coeur d'Alene, ID 83814


В списке pgsql-general по дате отправления:

Предыдущее
От: andrew@networkcomputerz.com
Дата:
Сообщение: distinct
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: VIEW problem