Re: mysql_field_name equivalent

Поиск
Список
Период
Сортировка
От CoL
Тема Re: mysql_field_name equivalent
Дата
Msg-id bsuqqv$7n9$2@news.hub.org
обсуждение исходный текст
Ответ на mysql_field_name equivalent  ("Mace, Richard" <richard.mace@Lorien.co.uk>)
Список pgsql-novice
Hi,

Mace, Richard wrote, On 12/31/2003 12:59 PM:

> Is there a PostgreSQL equivalent command to the mysql_field_name command above?
>
> I am running a select query (7.2) and would like to get the name of the columns I am selecting
> too, in order to output a header line to an external file, with the result of the select.
>
> Has anyone done this or similar?

you probably want this from php. Better to use, ask at
comp.databases.postgresql.interfaces.php for php related questions.

try the php documentation and check: pg_field_name

C.

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

Предыдущее
От: gavaneh
Дата:
Сообщение: install
Следующее
От: Dan Jewett
Дата:
Сообщение: Timestamp vs. Interval and formatting....