Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL to VFP
Message
From
06/12/2002 10:14:46
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00730144
Message ID:
00730307
Views:
21
CREATE DATABASE C:\TEMP\yourdbc

lnHandle = SQLCONNECT("PROD", "USERID", "PASSWORD")
SQLEXEC(lnHandle, "select * from whereever")

COPY TO c:\temp\whereever DATA c:\temp\yourdbc


Do this several times to pull your data down to vfp levels. To reverse the process, you can create a view and append from these tables. The long field names will be preserved.
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform