Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding variable in Raise Error
Message
 
 
À
22/03/2011 11:58:47
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01504519
Message ID:
01504525
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform