I am trying to optimize some queries, and as such, trying to put several 1 row insert queries into one. I am trying to use a function to generate the sql, and then just loop through each record and generate the sql I need. The issue I'm running into is that cfqueryparam is not supported outside of cfquery. Is there some way to escape it, or am I stuck with putting the sql inline with the loop?
Here is an example of what I want: <cfsavecontent variable="myqry"> set @userId=<cfqueryparam cfsqltype="cf_sql_integer" value="#userID#"> </cfsavecontent> Russ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233004 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

