I don't think so:

for example logical operations need to be contained like in a ON or WHERE clause

example" WHERE  ((a = "X" AND b = "Y") OR z = "W") AND  x = "foo"

if you remove the parenthesis then it will evaluate differently

Bruno S. Oliveira wrote:
Hi there,

Is there any sort of expression inside a query that needs to be
surrounded by parenthesis?

My program will receive queries built to run in MySQL, Oracle and
Postgrees. The problem, as posted before, is that SQLite has problems
with parenthesis around JOINs...   So, what I want to do is to remove
every possible parenthesis present in the incoming query. So that my
problem is resolved fast.
Can I do that safely?

Thanks in advance.

Regards



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to