DBD::Pg - question on using LIKE operator with bind variable

Поиск
Список
Период
Сортировка
От Max Pyziur
Тема DBD::Pg - question on using LIKE operator with bind variable
Дата
Msg-id 55377.71.167.232.56.1309786189.squirrel@webmail.brama.com
обсуждение исходный текст
Ответы Re: DBD::Pg - question on using LIKE operator with bind variable
Список pgsql-interfaces
Greetings,

I would like to use a bind variable with a LIKE operator.

An example of the query that I'm trying to use is the following:
SELECT ? , aa.f1, aa.f2, aa.f3, aa.f4 FROM orgs aa WHERE aa.f1 LIKE '%?%'

How do I get the conditional part of the query (WHERE aa.f1 LIKE '%?%') to
accept a bind variable?

Much thanks for your help.

Max Pyziur
pyz@brama.com


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

Предыдущее
От: Miguel García
Дата:
Сообщение: ...
Следующее
От: "Miguel García"
Дата:
Сообщение: ...