Question

I'm Working on synchronizing two databases in order to migrate from a legacy FoxPro database to Sql Server.

i have a foxpro code that loads and transforms data, and wondering how to call that procedure from SQL server? even in MSDN i have only found examples that do the opposite, call sql from fox...

i'm looking for a pure SQL solution, no third party component or application .

Was it helpful?

Solution

It looks like you can attach certain versions of Visual FoxPro using SQL Server's Linked Server feature. Here is a knowledge base article. After you attach it you should be able to get to the FoxPro SP by using an openquery. If you can't do it that way you will have to use the CLI to pull the data.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top