Use the RAISERROR function. See SQL Books Online for details.
Example:
RAISERROR(50001,10,1)
50001 is the ID of the system message. Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
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.