Whenever I run this following script it gives me an error.
I checked in the online help and I did not find error 8646.

Thanks in advance.


use DatabaseName
GO
begin tran
declare @err int
update Table
set content_code='ABC'
from Table

select @err=@@error
if (@err=0 )
begin
commit
print ('Updation successful in ikw_indexed_form_approved table&#39
end
else
begin
rollback
print ('ikw_indexed_form_approved table is rolled back&#39
end
GO

Returning:
Server: Msg 8646, Level 21, State 1, Line 3
The index entry for row ID was not found in index ID 2, of table 165575628, in database 'rns_indexed'.

Connection Broken