Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote view on SQLSTRINGCONNECT connection
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Remote view on SQLSTRINGCONNECT connection
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01077524
Message ID:
01077524
Views:
91
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
Next
Reply
Map
View

Click here to load this message in the networking platform