Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding variable in Raise Error
Message
From
22/03/2011 13:53:19
 
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01504519
Message ID:
01504542
Views:
31
>Yes, exactly. The last approach will work. I remember long time ago (in 2003) I had the same frustration when I tried to use Raiserror the first time. Now I know about its "limitations" and either construct the whole string as a variable or embed values using parameters as BOL states. It would be nice to have a simpler syntax in future versions of SQL Server.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform