Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fields containing quotes
Message
From
19/09/2000 09:01:27
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00418001
Message ID:
00418006
Views:
25
I get ODBC errors when I put [] around the field values. (I am calling a stored procedure to do the Insert).

>Steve,
>
>Try using brackets - [VALUE] instead of quotes.
>
>>I am trying to insert records into a SQL Server 7.0 table where some of the text fields contain double and/or single quotes. I have searched the UT on this issue and found that the solution is to add an extra quote when one is found in the string, but this isn't working for me. When I add an extra quote, I get both quotes in my field.
>>
>>I have read the SET QUOTED_IDENTIFIER section in the BOL, but it is not completely clear. Does that setting only apply at the time the structure is created?
Previous
Reply
Map
View

Click here to load this message in the networking platform