Re: table column information

Поиск
Список
Период
Сортировка
От Scot L. Harris
Тема Re: table column information
Дата
Msg-id 1084757732.17065.150.camel@lathe
обсуждение исходный текст
Ответ на Re: table column information  (ljb <ljb220@mindspring.com>)
Список pgsql-php
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 <webid@cfl.rr.com>


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

Предыдущее
От: ljb
Дата:
Сообщение: Re: table column information
Следующее
От: Andrew McMillan
Дата:
Сообщение: Re: table column information