Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql update
Message
From
16/03/2011 00:14:45
 
 
To
15/03/2011 22:30:39
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
01503811
Message ID:
01503823
Views:
44
>Hi All,
>
>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"

While Sergeys answer is technically correct and directly to your question,
using parameterized SQL is something you should read up on -
it eliminates security risks as well - you have heard of SQL injection ?.
Previous
Reply
Map
View

Click here to load this message in the networking platform