Re: Proper escaping for char(3) string, or PHP at fault, or me at fault?

Поиск
Список
Период
Сортировка
От Chris
Тема Re: Proper escaping for char(3) string, or PHP at fault, or me at fault?
Дата
Msg-id 45D2BB47.3050908@gmail.com
обсуждение исходный текст
Ответ на Proper escaping for char(3) string, or PHP at fault, or me at fault?  ("semi-ambivalent" <rloefgren@forethought.net>)
Ответы Re: Proper escaping for char(3) string, or PHP at fault, or me at fault?  (rloefgren@forethought.net)
Список pgsql-general
semi-ambivalent wrote:
> All,
>
> I have a char(3) column that has occasional values of this:
> (V)
>
> In a PHP-called nested query I've a line something like:
> select * from tableA where  = any (select date from tableA where void !
> = '(V)') group by date order by record

Shouldn't that be

select * from table where FIELD = any (.....)

?

--
Postgresql & php tutorials
http://www.designmagick.com/

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

Предыдущее
От: "Peter Eisentraut"
Дата:
Сообщение: [ANNOUNCE] Advisory on possibly insecure security definer functions
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: backup database by cloning itself