Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escaping quote character
Message
De
06/10/2014 11:20:10
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01608856
Message ID:
01608859
Vues:
24
>
>SET @SQL='...WHERE Client.City=''Michel''''s city'''
Thanks, but is this syntax also supported for such situation:
SET @SQL='...THEN Client.City ELSE '''''''' END'',''L...'
...where the ELSE is supposed to have a result of ''.

It seems the first example works. But, the script cannot be executed as it fails later on in such situation.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform