Re: describe table query?

Поиск
Список
Период
Сортировка
От snpe
Тема Re: describe table query?
Дата
Msg-id 200209100307.46087.snpe@snpe.co.yu
обсуждение исходный текст
Ответ на describe table query?  (Andrew Bulmer <toastafari@yahoo.com>)
Ответы Re: describe table query?  (Dan Ostrowski <dan@triad-dev.com>)
Список pgsql-general
If You use java then that is DatabaseMetaData.getColumns etc

regards
Haris Peco
On Monday 09 September 2002 11:30 pm, Andrew Bulmer wrote:
> I'm trying to write an Access clone in java that will
> use PostGres as a backend. Problem is, I need to be
> able to list all the fields (and data types) in a
> table. I know about "\d" but that only seems to work
> on the command line client (doesn't work if I pass it
> in as a query). I know in mysql DESCRIBE <table> will
> do it... is there an equivalent in postgres? I tried
> google but all I could find were references to the \d command.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


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

Предыдущее
От: snpe
Дата:
Сообщение: Column type, size, precision in PostgreSQL
Следующее
От: Dan Ostrowski
Дата:
Сообщение: Re: describe table query?