Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote view on SQLSTRINGCONNECT connection
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Remote view on SQLSTRINGCONNECT connection
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01077524
Message ID:
01077524
Vues:
92
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?
Giedrius
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform