Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy all tables in SQL server to DBFs
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01488559
Message ID:
01488586
Views:
59
>>Hello:
>>
>>Does anyone have code to iterate to all tables in a SQL Server database and issue a 'copy to (tablename).dbf?'
>>
>>
>>TIA
>
>If this is a one time job you could use undocumented function MS_ForEachTable:
>
>EXEC MS_ForEachTable 'SELECT * FROM ?'
>
How can you use the results of this in VFP?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform