Re: New-B Question #2

Поиск
Список
Период
Сортировка
От Philip Hallstrom
Тема Re: New-B Question #2
Дата
Msg-id 20050823092952.S23844@wolf.pjkh.com
обсуждение исходный текст
Ответ на New-B Question #2  (cbraden <cbraden@douglasknight.com>)
Ответы SQL problem?  (cbraden <cbraden@douglasknight.com>)
Список pgsql-novice
> What I would like to do, use PostgreSQL and PHP, is list all the columns for
> a given table.  (Having finally choked the list of tables from postgre).  In
> MySQL it is something like this "SHOW COLUMNS FROM {tablename} FROM
> {databasename}".  I'm assuming I'm missing something obvious and bonehead,
> but I can't seem to translate that into postgreSQL to save my bacon.

See the example on this page:

http://us2.php.net/manual/en/function.pg-meta-data.php

-philip


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

Предыдущее
От: "Adam Bickford"
Дата:
Сообщение: Removing PostGreSQL Services and Accounts
Следующее
От: Saranya Sivakumar
Дата:
Сообщение: function to escape single quotes