Re: use of IN() with literals

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: use of IN() with literals
Дата
Msg-id hsuihv$p50$1@dough.gmane.org
обсуждение исходный текст
Ответ на use of IN() with literals  (Dennis Gearon <gearond@sbcglobal.net>)
Список pgsql-general
Dennis Gearon wrote on 18.05.2010 19:05:
> select * from pg_class where relkind IN IN (‘r’, ‘v’, ‘S’);
                                           ^^  ^  ^

You repeated the keyword IN, and you are using the wrong quotes (unless this is a copy & paste problem of a broken
emailclient) 


select *
from pg_class
where relkind IN ('r', 'v', 'S');

should work


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

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: use of IN() with literals
Следующее
От: David W Noon
Дата:
Сообщение: Re: use of IN() with literals