Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server Query Syntax Help.
Message
From
04/10/2000 09:39:29
 
 
To
02/10/2000 21:06:11
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00423851
Message ID:
00424664
Views:
8
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform