Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quote and Pass-trough
Message
De
02/12/2002 14:54:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00728741
Message ID:
00728744
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform