Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql update
Message
De
16/03/2011 00:14:45
 
 
À
15/03/2011 22:30:39
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
01503811
Message ID:
01503823
Vues:
45
>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 ?.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform