> I spent a few minutes looking at SQL Server Books Online, and couldn't
find
> anything which SQL Server would automatically return how many records were
> updated by a query. You can use the RETURN keyword within a stored
procedure
> to return a value, or you could use RAISERROR to throw an error, but I
> didn't find what you're looking for, and I don't think it exists, at least
> not in SQL Server.

what about @@ROWCOUNT? it returns the number of rows
affected by the last sql statement.....

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to