Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding variable in Raise Error
Message
 
 
To
22/03/2011 11:58:47
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01504519
Message ID:
01504525
Views:
32
This message has been marked as a message which has helped to the initial question of the thread.
>>Try building your error message into a varchar variable first, and then just use the @variable for the message parameter. I think trying to build the message in the parameter is a problem.
>
>Then only I could have it working is by this approach.
>
>Message #1504520

The simplest way to answer this question is to check BOL for Raiserror. It clearly states how to use parameters (C++ style) in the string.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform