| От | Richard Huxton |
|---|---|
| Тема | Re: SQL question |
| Дата | |
| Msg-id | 200306100804.10644.dev@archonet.com обсуждение исходный текст |
| Ответ на | SQL question ("Guillaume Houssay" <ghoussay@noos.fr>) |
| Список | pgsql-general |
On Monday 09 Jun 2003 2:30 pm, Guillaume Houssay wrote: > I found a way to have the list of all the tables for my database. > > Now, I would like to get the name of the columns of any table. > I could not find the SQL command to do that. > > Thank you for you help In psql there are a number of backslash commands - you might find the following useful: \d \dt \dv \d mytable1 \d my* If you start psql with the -E flag you'll see the SQL that's used to run these. See "man psql" or the manuals for more info. -- Richard Huxton
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера