Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding variable in Raise Error
Message
 
À
22/03/2011 11:47:46
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:
01504521
Vues:
21
>Is there a way to add a variable in a Raiseerror command. I cannot even do this:
>
>
>Raiserror('Processing ButtonSection.dbf at '+'test'+'...',0,1) With Nowait
>
>
>At first, I tried:
>
>
>Raiserror('Processing ButtonSection.dbf at '+@Command+'...',0,1) With Nowait
>
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.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform