Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql update
Message
 
 
To
15/03/2011 22:30:39
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
01503811
Message ID:
01503813
Views:
75
This message has been marked as the solution to the initial question of the thread.
You have to double a single quote. See http://www.levelextreme.com/ViewPageArticle.aspx?ID=397

>
>Currently I am writing a visual foxpro program to write data / record to sql server. However there is a problem when I failed to update the sql table when there is " ' " in the string. Example: update the "21' lcd monitor"
>
>update tbl_item set description1 = ' 21' lcd monitor ' where item = '0001'
>
>How could I include the " ' " in the string?
>
>Thanks for your help in advance.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform