That would help if for some reason no row was inserted. In my case, however, a row is being inserted, but it just doesn't work. I believe I'm running the latest version of CF8 (8,0,0,176276).
Any other suggestions? Russ > -----Original Message----- > From: Dominic Watson [mailto:[EMAIL PROTECTED] > Sent: Friday, February 15, 2008 4:11 PM > To: CF-Talk > Subject: Re: cf8 query weirdness > > I remember getting this error but not sure if and how I resolved it (I am > no > longer getting this error). > > I am currently doing: > > Select IsNull(SCOPE_IDENTITY(), 0) as someid > > HTH > > Dominic > > -- > Blog it up: http://fusion.dominicwatson.co.uk > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

