any suggestions on how to capture 'converting varchar to numeric' error (level 16, state 5). We've tested our code and if the error is a 'constraint' error (level 15, state 1) no problem. But if we try to insert varchar into a numeric field (which is the problem we most often encounter in our...
any suggestions on how to capture this type of error (level 16, state 5). We've tested our code and if the error is a 'constraint' error (level 15, state 1) no problem. But if we try to insert varchar into a numeric field (which is the problem we encounter in our data) no go. The ONLY difference...
I would like to explicitly return a value from a called procedure without using the OUTPUT parameter. I can't seem to get this to work and get an error regarding converting to int. It's a string I want to pass & I've declared all of the pertinant variables as varchar.
Do I have to use this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.