Re: table column information

Поиск
Список
Период
Сортировка
Искать
От
Scot L. Harris
Тема
Re: table column information
Дата
в 22:35:54
Msg-id
1084757732.17065.150.camel@lathe
Ответ на
Список
Дерево обсуждения
Re: table column information ljb <ljb220@mindspring.com>
Re: table column information "Scot L. Harris" <webid@cfl.rr.com>
Re: table column information Andrew McMillan <andrew@catalyst.net.nz>
Re: table column information "Scot L. Harris" <webid@cfl.rr.com>
Re: table column information Andrew McMillan <andrew@catalyst.net.nz>
Re: table column information "Scot L. Harris" <webid@cfl.rr.com>
Re: table column information Robert Treat <xzilla@users.sourceforge.net>
Re: table column information "Scot L. Harris" <webid@cfl.rr.com>
Re: table column information Steve Crawford <scrawford@pinpointresearch.com>
Re: table column information Stefan Gastaldon <stefang@bundaberg.qld.gov.au>
On Sun, 2004-05-16 at 20:19, ljb wrote:

> You almost got it - just do "select * from tablename where 0=1", which returns
> no rows but will give you the fieldnames. A portable and (I think)
> efficient way to get table column names.

Thanks.  That should do it.

I was not able to get to the list archives earlier.   

-- 
Scot L. Harris 

В списке pgsql-php по дате отправления
От: ljb
Дата:
Сообщение: Re: table column information
От: Andrew McMillan
Дата:
Сообщение: Re: table column information
FAQ