Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quotes in SQL Server
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00134836
Message ID:
00134841
Views:
10
Use two quotes in a row, e.g. SET Title='Been Caught Steelin'''

>Version: VFP 5.0
>
>I am using SQLPREPARE() and SQLEXEC() to UPDATE and INSERT records into a SQL Server 6.5 table. In Transact-SQL, the string must be surrounded with single quotes e.g., ...SET Lname='Smith'...
>
>How can I define a string that has a single quote in it?
>Such as SET Artist='Jane's Addiction'
>
>Any thoughts?
Previous
Reply
Map
View

Click here to load this message in the networking platform