Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql update
Message
 
 
À
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:
01503813
Vues:
77
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform