> that looks like a handy attribute, although like you say > James the SQL value doesn't look so easy straight forward to > use once you use the CFQUERYPARAM on the ingoing query attribute. !?
I am using... <cfset ParsedSQL = UpdateMainResult.SQL> <cfloop from="1" to="#arrayLen(UpdateMainResult.SQLParameters)#" index="i"> <cfset ParsedSQL = replace(ParsedSQL," = ?"," = '" & UpdateMainResult.SQLParameters[i] & "'","one")> </cfloop> And that does a reasonable job, unfortunately one of my text fields is a ratio and the isDate() function incorrectly identifies it as a date so I can't use that to skip the quotes, but if I was very worried about it I could use isDate() and isNumeric() to not quote fields that don't need them. -- Jay ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253414 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4