Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
MrBoston #1
PreserveSingleQuotes Not Working in CFQUERY
Just a heads up to those for those using CFSCRIPT within a CFQUERY to compose a
Dynamic SQL statement. When you try to use PreserveSingleQuotes(SQLTEXT) the
resulting query string is only partially escaped. The only Sucessfull approach
I found was to compose the SQL using CFSCRIPT outside of the query, and then
use PreserveSingleQuotes() within the CFQUERY block.
Hopefully this might save someone else the headache.
MrBoston Guest
-
cfquery bug...still?
Hi, I have ColdFusion MX7,0,0,91690. I am trying to utilize the attached code. I am passing the query (it's easier for my implementation) in a... -
CFQUERY not working for some reason
I have the following code to authenticate a password, and it is successful, complete the <CFIF> Statement: <cfquery name="checkpass"... -
PreserveSingleQuotes() problem
Hi, I have a database in which some of the text in it has a single quote, mainly to show posession, such as " cat's ". Anyway, I can't get this... -
cfquery for date not working
Greetings - I am sure what I am missing is something simple. I am trying to query for a specific date in a database. However, when I search for a... -
PreserveSingleQuotes and Evaluate
Hi all. I've run into a bit of a problem with part of an application. I have users inputting , what can be, multiple animal (Species) names and... -
david_h #2
Re: PreserveSingleQuotes Not Working in CFQUERY
What version of CF are you using?
this is something we ran into. They broke the whole escaping thing with the
6.1 updater, and now refuse to fix it.
We actually store the SQL in our database and execute it later for logging
purposes and what not. When we read the data back from the db and try and
exceute in in a CFquery, it blows up because all of the single quotes, where
they were 1 or 2 are replaced with 2
david_h Guest
-
MrBoston #3
Re: PreserveSingleQuotes Not Working in CFQUERY
I'm using ColdFusion MX 7.
MrBoston Guest



Reply With Quote

