You probably have to wrap your query in a PreserveSingleQuotes() function. By default, CF will escape single quotes in variables passed to a CFQUERY tag.
HTH,
Jeff
----- Original Message -----
From: brob
To: CF-Talk
Sent: Monday, November 10, 2003 4:11 PM
Subject: Dynamic SQL
Hey guys I am allowing user to run SQL scripts by typing them into a textarea and submitting them. But for ome reason i keep on getting some syntax error, even though I did an output test of the script on the page and the script looks alright. Any hints? thanks
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- CF MX 6.1 Migration issue Andrew Santos
- Re: CF MX 6.1 Migration issue Matt Liotta
- RE: CF MX 6.1 Migration issue chris kief
- RE: CF MX 6.1 Migration issue Andrew Santos
- Dynamic SQL brob
- RE: Dynamic SQL Barney Boisvert
- RE: Dynamic SQL Philip Arnold
- Re: Dynamic SQL brob
- RE: Dynamic SQL C. Hatton Humphrey
- ReSOLVED: Dynamic SQL Jeff Garza
- RE: Dynamic SQL Mosh Teitelbaum
- Re: Dynamic SQL brob
- RE: CF MX 6.1 Migration issue Dave Watts