|
Bleddyn-- >I'm trying to use the 'LIKE' keyword in my client queries and get the >following error 'SQL0104 Token ( was not valid ..'. My query is something >like 'SELECT * FROM M.COMPANIES WHERE NAME LIKE '%TEST%'. I am running >client access ODBC drivers and the AS400 is on V4R1M0. We are developing >with Delphi 3. Interesting. The where clause looks valid from here, and not a paren in sight. Could the ODBC driver be inserting parens in its quest for vanillaness? Always have thought it would be a good idea if SQL invalid token messages showed the statement and a reference to the token in error in their second level. Here's another instance where that might make things easier. Does the SQL0104 suggest valid tokens? Jerome /* -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- */ /* Jerome Hughes jromeh@aol.com */ /* InterPro Consulting Services www.interproinc.com */ /* Rosemont IL USA these are my own opinions only */ /* OMNI User Communications Director www.omniuser.org */ /* -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- */ Spark's Law of Problem Solution: The chances of solving a problem decline the closer you get to finding out who was the cause of the problem. -- Gerald Weinberg, The Secrets of Consulting +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.