Nice sql server error messages 🙂
Using delete join statement in stored procedures and sql server return error messages.
Why?
Because,
There are records in related tables.
Need to delete records in related tables and we should try to delete again.
Change the RaiseError ERROR_STATE() to 1
Advertisements
Leave a Reply