Viewing 3 posts - 16 through 18 (of 18 total)
I think that there is one more way to do this- Update the table , then check for the @@rowcount. If @@rowcount > 1 then perform the insert operation -
1....
December 6, 2005 at 2:23 am
#607883
select name from sysobjects where xtype = 'U' and name like '%XXXX%'
December 5, 2005 at 10:18 am
#607742
Well 2 options come to my mind:
Begin an explicit transaction while updating the table. In the same transaction, write an insert statement to the history table. In this case, the insert...
December 5, 2005 at 9:12 am
#607727