Can you combine text variable together to referenece a VIEW name ?

Поиск
Список
Период
Сортировка
От Bigjim
Тема Can you combine text variable together to referenece a VIEW name ?
Дата
Msg-id 1176075387.208303.151350@p77g2000hsh.googlegroups.com
обсуждение исходный текст
Ответы Re: Can you combine text variable together to referenece a VIEW name ?
Re: Can you combine text variable together to referenece a VIEW name ?
Список pgsql-general
Hi there,
I am trying to combine 2 text variable togther to form the name of a
VIEW.  example


   SELECT * FROM ( 'april'||'may') ;

I have a 12 different views and I want to be able to select a
different view depending on the contents of 2 fields in a database.

Has anyone done this before or have any ideas on how to do it ?

Thanks


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