Attribute Details: HandleQuotesInTokens
 Back


Handle Quotes in Tokens makes it possible to work with tokens, such as @Request tokens, that contain single quotes in their values. When set to True, any tokens in the Source attribute will have single quotes "doubled" so that they work within the SQL statement.

For example, imagine a SQL statement in a Source attribute like "SELECT * FROM Customers WHERE CompanyName LIKE '@Request.Name~%' ". Then, if the Name we are searching for is "Trail's Head", the SQL executed becomes "SELECT * FROM Customers WHERE CompanyName LIKE 'Trail''s Head%' ".

The default for Handle Quotes in Tokens is False.



POTENTIAL VALUES

False
True




PARENT ELEMENTS

Click element to drill down for more information.

DataLayer.ActiveSQL
DataLayer.Dataview
DataLayer.LDAP
DataLayer.MDX
DataLayer.Shape
DataLayer.SQL
Execute.SQL
Procedure.SQL


 Back to top