How can I find out wheter rows were deleted in a db or not? DELETE from Orders WHERE Product_id=(SELECT TOP 1 Product_id from Product WHERE Product_coupon='foo1')
I would like to know how much records were deleted, if any. I tried using this at the end of the query with no luck: SELECT @@ROWCOUNT AS Deleted and then trying to cfoutput > #Queryname.Delete# (no such variable) :( Any help? ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

