In article <1123161258.095439.112610 (AT) g14g2000cwa (DOT) googlegroups.com>,
ajohnstone (AT) capcitypress (DOT) com says...
Quote:
Hi all,
I'm having a problem where Sql sent to FM through ODBC is causing the
program sending the Sql to shutdown.
The query is:
SELECT *
FROM TABLE
WHERE ID = 235 OR ID = 256
It would seem simple, but its not. MS Query does something to the Sql
it sends before it sends it, so it seems to work (although entering
that exact sql to send in MS Query causes it to close as well).
Any ideas as to why such a simple thing would cause such problems? |
Wasn't there just a thread about this? Something about using
parenthesis...
e.g.
WHERE ((ID=235) OR (ID=256))