Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How do I get Custom Error Messages

$
0
0

I'm using a stored procedure and it checks several things before committing the record, I have each set to generate a different number if an error is raised. How can I get the error in my website and display a message based on the returned number?

IE 0 Successful

1 Already Exists

2 Wrong Format

Thanks for the help


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>