Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quote and Pass-trough
Message
From
02/12/2002 14:54:40
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00728741
Message ID:
00728744
Views:
19
Super

Many thanks

Xavier

>Double single quotes.
=SQLEXEC(hconnect, ;
>  [Insert into Table (id) values ('] + CHRTRAN(myid, ['], ['']) + [')] )
>
>
>>Hello,
>>
>>How can I send a field that contains quote to a SQL server using an SQL pass through ?
>>
>>=SQLEXEC(hconnect,"Insert into Table (id) values ('" + myid + "')")
>>
>>myid has single quote included for example.
>>
>>Thanks
>>
>>Xavier
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform