Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single quote with SQL Passthrough
Message
De
04/10/1999 17:49:18
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00272394
Message ID:
00272487
Vues:
18
If you set QUOTED_IDENTIFIERS off, you can use double-quotes to delimit a string. The better solution is to double the single-quotes that aren't delimiters.

SQL = "UPDATE sometable SET ems_desc = 'VERT STOCK TAB''S' WHERE..."

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform