And for all those reading this and using MSSQL, an inline statement would look 
like this:

<cfquery ...>
declare @p1 nvarchar(50)

set @p1 = '#userSuppliedValue#'

select *
from tableName
where column = @p1
</cfquery>

So, basically <cfqueryparam> is creating the Declare and Set for you. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321675
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to