This may not be possible but...

Doesn anyone know of a way to get this or something similar to work?

<cfset strSQL = "select ColumnName from TableName where ColumnName=<cfqueryparam cfsqltype=""CF_SQL_VARCHAR"" value=""#Variable#"">">

<cfquery>
#preserveSingleQuotes(strSQL)#
</cfquery>

Thanks,

David
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to