Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Big strings
Message
 
À
02/07/2007 08:33:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01237101
Message ID:
01237104
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
>Hi..
>
>If the variable 'lcvalues' on the following expression gets a big size.. only truncate and the sql expression is not accepted..
>
>Does anyone, could share any solution to concatenate it..
>
>
>lcsqlstring  = "INSERT INTO " + lctable + " ( " + lcsqlfields + " ) VALUES (" + lcvalues + ")"
>
>
>TIA
>
>Claudio

How about:
TEXT TO lcsqlstring  NOSHOW PRETEXT 15 TEXTMERGE
    INSERT INTO <<lctable>> (<<lcsqlfields >>) VALUES (<<lcvalues>>)
ENDTEXT
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform