Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quickly inserting into SQL server
Message
From
10/10/2014 10:54:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01609135
Message ID:
01609136
Views:
59
>Hi all,
>just a quick one. Is there an easy to get data from a foxpro table and put it into SQL server. To be exact what I'd like to do is create a database in SQL server with no tables and then simply select * from table1 from forpro and then insert into new table1 in SQL server. I know it can be done using inserts but I potentially have 6-700 fields and don't fancy doing that.
>
>~M

I think you can set up a link to foxpro as a linked server in SQL and then just select from that into your table.
I can't recheck this as I'm not on a site with any fox data at the moment.

http://ask.sqlservercentral.com/questions/1651/link-server-to-fox-dbf-from-sql-2008-server-x64.html

Nick
Previous
Reply
Map
View

Click here to load this message in the networking platform