Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using SQLEXEC() for a TSQL file...
Message
 
À
30/08/2002 12:37:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00695487
Message ID:
00695773
Vues:
9
John,

>You can run the 'Upsizing Wizard' and get it to generate the code for upsizing without actually running the upsizing.
>I've now got that code, but it's in TSQL, not VFP.
>How do I get SQLEXEC() ro tun the entire file, without parsing it one line at a time? I am pretty sure there is a way. Is it SQLPREPARE()?

You can use filetostr() to read the file into a memory variable and use this variable in SQLEXEC().

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform