Value=""
Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged -----Original Message----- From: Pranathi Reddy [mailto:[email protected]] Sent: Tuesday, April 28, 2009 1:06 PM To: cf-talk Subject: Set column value to NULL My image datatype is varbinary(max) and I am storing binary image data in database. This query works fine in sql Server 2005 to set the attribute to 'Null'(delete binary data) but wat if I wanna use in coldfusion8 <cfquery> update table1 set image = null where empid ='@id' I tried using <cfquery name="Qry_DeleteImage" datasource="#application.datasource#"> Update table1 SET image = <cfqueryparam cfsqltype="CF_SQL_VARBINARY" null="true" value= ''> WHERE empID=<cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#session.ID#"> </cfquery> How do I actually set the attribute value to null in coldfusion. Thanks, Priya ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:322025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

