on-internet
← Community

Ignore or handle an error when running a query in SQL Server

Stack Overflow ·

When I execute the batch of insert queries via SQL Server Mgmt Studio, it produces the following error but completes the insertion process of other queries. Msg 18054, Level 16, State 1, Procedure X, Line 14 Error 50001, severity -1, state 1 was raised, but no message with that error number was found in sys.messages. If error is larger than 50000, make sure the user-defined message is added using sp_addmessage. Msg 18054, Level 16, State 1, Procedure Y, Line 14 Error 50001, severity -1, state 1 was raised, but no message with that error number was found in sys.messages. If error is larger than

Comments

Sign in or sign up to comment and upvote.

No comments yet.