Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of N in commands
Message
 
 
À
09/03/2011 15:58:41
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01503083
Message ID:
01503092
Vues:
34
>>That is my understanding too.
>
>Thanks, I will keep the script generator as is.

If the field is defined as nvachar(...) you don't really need to add N' in front as the field still will be nvarchar. You need N' if you use unicode characters.

sp_ExecuteSQL requires nvarchar parameters (Command to execute and Parameters Definition)
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