select from dynamic table names

Поиск
Список
Период
Сортировка
От Dinesh Kumara
Тема select from dynamic table names
Дата
Msg-id 4EB8F3BB.5010406@rezgateway.com
обсуждение исходный текст
Ответы Re: select from dynamic table names  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
I have 16 tables which created according to generated MD5 hash.
At the time of execution i tried to retrieve data from a table where table name id dynamic.

table name can be expertdb.rate_AVAIL_[0 to F]

I tried to get this from ;
SELECT * FROM expertdb.rate_AVAIL_ || upper(substring(md5('2011-11-10')from 1 for 1))

but it is giving an error that is error with '||' appender. please someone give me an idea..

--

Thanks and Regards,
Dinesh Kumara,
Software Engineer,
Reservation Gateway Inc,
Email:dinesh@rezgateway.com
www.rezgateway.com

Вложения

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

Предыдущее
От: Lori Corbani
Дата:
Сообщение: Re: function within a function/rollbacks/exception handling
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: How to inquiry a nest result?