Dazza051197
asked on
@@Error
I've got a stored procedure that inserts records to my sql table from a linked server, but if the linked server table is open and exclusively locked then my stored procedure will fail. I'm trying to trap the error after the insert statement using the @@error, but the stored procedure is not continuing to run after the insert statement. How can I trap this error ? The linked server is an access database using jet oledb.4.0
Daz
Daz
Wich flavour of SQL are you using?
Also having trouble with a sililiar situation, if someone has an answer, or if I find one, I will post. Please check out:
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=10198949
If you come across the answer for an easy 200pts.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=10198949
If you come across the answer for an easy 200pts.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.