Re: Can you combine text variable together to referenece a VIEW name ?
В списке pgsql-general по дате отправления:
| От | Raymond O'Donnell |
|---|---|
| Тема | Re: Can you combine text variable together to referenece a VIEW name ? |
| Дата | |
| Msg-id | 461A8C59.6060606@iol.ie обсуждение исходный текст |
| Ответ на | Can you combine text variable together to referenece a VIEW name ? ("Bigjim" <bigjim.still@rogers.com>) |
| Ответы |
Re: Can you combine text variable together to referenece a VIEW name ?
|
| Список | pgsql-general |
On 09/04/2007 00:36, Bigjim wrote: > I am trying to combine 2 text variable togther to form the name of a > VIEW. example > > SELECT * FROM ( 'april'||'may') ; I think you want to use EXECUTE from within a pl/pgsql function to construct and execute a query dynamically - have a look at this: http://www.postgresql.org/docs/8.2/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN HTH, Ray. --------------------------------------------------------------- Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@iol.ie ---------------------------------------------------------------
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера