Re: Dynamic Query problem

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Dynamic Query problem
Дата
Msg-id Pine.BSF.4.21.0109291118350.33581-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: Dynamic Query problem  ("Dinesh Parikh" <dineshp@newgen.co.in>)
Список pgsql-general
On Sat, 29 Sep 2001, Dinesh Parikh wrote:

> Hi,
> Actually I think there is some type of caching in record datatype. Is there
> any way to find datatype of record's column so that i can explicit cast in
> assignment(have u propse alternate of this).

Well, you could explicitly cast in the select query string to the type you
want it to be. Something like:
''Select '' || DBColName || ''::<type> As Field '' || '' From TestTable''
where <type> is the type you want out.



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: trigger compile problem
Следующее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: Encoding passwords