Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single quote with SQL Passthrough
Message
From
04/10/1999 17:49:18
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00272394
Message ID:
00272487
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform