Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server Query Syntax Help.
Message
De
04/10/2000 09:39:29
 
 
À
02/10/2000 21:06:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00423851
Message ID:
00424664
Vues:
10
>The syntax calls for the variable name to be enclosed in single quotation marks. However, if the data in the variable contains single quotations, it screws up the query and produces an error.
>
>Any workarounds, or do I have to parse things out to wrap a single quotation mark within two single quotation marks?
>
>DP

You have to make the single quote in the variable have 2 singles - e.g.

.. WHERE field = 'Bob''s Big Boy'...
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform