Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exporting to SQLserver
Message
De
13/04/2012 10:45:08
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/04/2012 10:15:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01541411
Message ID:
01541421
Vues:
38
>now that I do connect to SQLserver 2008 OK i am tryng to upload some tables
>
>doing inserts, row by row, is painful.
>can I do sqlexec with a cursor??
>
>the up-size wizard errors out complaining I need to validate my DBC, which I did end it validates just fine thank you.
>
>could I use a remote view with a sqlconnectstring??

This is counterintuitive, but in the USE statement, the CONNSTRING clause can take the handle as a parameter. Just keep one central handle in your app and pass it to each view when opening.

However, I got no clue how would that work with whichever upsizing wizard you may be using. It may be using the same thing internally.

And yes, you can create a view, open it with buffering 5, append to it, and then issue a tableupdate() for all records - and then wait while Fox does the groundwork for you. It will take some time, too, but not as much as it would when sending one record at a time.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform