Re: Simple PG Sql question (i hope)

Поиск
Список
Период
Сортировка
От Tony Caduto
Тема Re: Simple PG Sql question (i hope)
Дата
Msg-id 42F7BAF9.7010207@amsoftwaredesign.com
обсуждение исходный текст
Ответ на Re: Simple PG Sql question (i hope)  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Simple PG Sql question (i hope)  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Hi,
I don't think I was clear enough.

I know about using the AS keyword, that is not the problem.
The query in issue is:

select true,78,'Here is a value' as stringfield, testname from tbltest

Is returning the string as TYPE Unknown, not the column name.  The
column name comes back as stringfield because of the AS keyword.

You can see the type in tools such as PG Admin etc

Thanks,

Tony

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: AMD 64 RPM?
Следующее
От: Tony Caduto
Дата:
Сообщение: Re: AMD 64 RPM?