Re: How to Select with more than one AND in a Where SQL Clause?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: How to Select with more than one AND in a Where SQL Clause?
Дата
Msg-id 200208291159.08806.josh@agliodbs.com
обсуждение исходный текст
Ответ на How to Select with more than one AND in a Where SQL Clause?  ("Zenith Vivas" <zenithvivas@hotmail.com>)
Список pgsql-sql
Zenith,

> Qry = "Select * from Table Where A1 Like '%' AND A2 Like '%' AND A3 Like '%'
> AND A4 Like '%' AND A5 Like '%'"
>
> But in spite of I need a SQL sentence with four (04) AND's in its Where
> clause, my SQL compiler only allow me using one AND.
>
> So How can I solve such a problem.

This is not a PostgreSQL problem, it is a problem with whatever program you're
using.   Use different database tools, or access PostgreSQL directly through
PSQL.

--
-Josh BerkusAglio Database SolutionsSan Francisco



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Why must the function that a trigger calls return "opaque" ???
Следующее
От: Marco Muratori
Дата:
Сообщение: query problem