Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quotes in SQL Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00134836
Message ID:
00134841
Vues:
9
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform