PreserveSingleQuotes (variable) 


Prevents ColdFusion from automatically escaping single quotation-mark characters that are contained in a variable. ColdFusion does not evaluate the argument.


 <cfset exampleList = "'Blender', 'Food Processor', 'Mixer', 'Toaster'">  <cfquery name = "exampleQuery" datasource = "exampleDB">    SELECT ProductName, SKU, InStock    FROM Products    WHERE ProductType IN (#PreserveSingleQuotes(exampleList)#)  </cfquery>  

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579 © 2008-2017.
If you may any questions please contact us: