Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedded single quotes in SQL Server
Message
 
 
To
11/06/2004 14:57:30
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00912856
Message ID:
00912865
Views:
7
This message has been marked as the solution to the initial question of the thread.
>Hi,
>I need to embed single quotes in an sp string to SQL Server 2k, e.g. "O'Mally", and cannot for the life of me remember how. I'm sure I've done it in the past. At least I *think* I'm sure I've done it before! Anybody know how?
>
Gary,

Double them inside a string literal.
'O''Mally'
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform