Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote view on SQLSTRINGCONNECT connection
Message
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 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01077524
Message ID:
01077545
Vues:
30
>Hello,
>
>I'm creating the connection to MS SQL server via SQLSTRINGCONNECT command.
>Can I create temporary remote view using that connection?
>
>Here is my code:
>
>lcConnString="Driver={SQL Server};Server=SERVER2\FBSQL;Database=TestDB;Uid=user;Pwd=password;"
>lhConnection = SQLSTRINGCONNECT(lcConnString)
>
>CREATE SQL VIEW vTest REMOTE CONNECTION lhConnection SHARE ;
>  AS SELECT * FROM Table1
>
>
>My task is to transfer a lot of data from DBF to SQL table. So, I will create remote view and... or (I just got idea) I can use CursorAdapter?

Yes you can. But I prefer to use CA instead of View. Also if this is only for transfer you could use SPT to do that.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform