query

Поиск
Список
Период
Сортировка
От Hector Galicia
Тема query
Дата
Msg-id 20021009164053.8412.qmail@web9602.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
this are parameters for my function

select test('>=','3000.00');

in my function I'm trying to make a dinamic query,
like this one

OPEN curs2 FOR EXECUTE "SELECT column1,  column2,
amount FROM table1 where amount  " || $1 || " " || $2
|| ";

but I'm not sure if a operator can be a parameter, it
is posible?

thanks

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Point in Time Recovery WAS: Hot Backup
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: access time performance problem