Quoting Problem in PLPGSQL

Поиск
Список
Период
Сортировка
От Alex
Тема Quoting Problem in PLPGSQL
Дата
Msg-id 3FB9DE4E.8040201@meerkatsoft.com
обсуждение исходный текст
Ответы Re: Quoting Problem in PLPGSQL
Список pgsql-general
Hi,

i have a problem with quoting in plpgsql. I try to insert dynamically
some conditions into a select statment but for some reason it does not work.

condition := '' AND price > 500 '';

SELECT INTO tmpRec * WHERE  xxxxxx  || condition || ORDER BY userId ;
What is the correct way to do this ?

Thanks
Alex



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

Предыдущее
От: 黎维 王
Дата:
Сообщение: how to get historical data?
Следующее
От: Lee Kindness
Дата:
Сообщение: Re: Move a table to another schema