Hi this is the cass:
SERVER A: Executes the following
INSERT INTO SERVERB.DB.owner.TABLE VALUES ('23232')
IF @@ERROR != 0
PRINT 'An Error !!!'
The sentence produces an error , but when I check the value of @@ERROR , this is equal to zero. I tried to use distributed transactions but it seems like there is a bug with distributed transactions cause I could not make that works here. I have two MS SQL Server 7.0 .
Any advise will be very appreciated.
Thanks,
Eduardo
epalacios@orientalfg.com
SERVER A: Executes the following
INSERT INTO SERVERB.DB.owner.TABLE VALUES ('23232')
IF @@ERROR != 0
PRINT 'An Error !!!'
The sentence produces an error , but when I check the value of @@ERROR , this is equal to zero. I tried to use distributed transactions but it seems like there is a bug with distributed transactions cause I could not make that works here. I have two MS SQL Server 7.0 .
Any advise will be very appreciated.
Thanks,
Eduardo
epalacios@orientalfg.com