Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who can help me with importing data ????
Message
 
To
23/11/2001 08:16:17
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00585112
Message ID:
00585128
Views:
16
Hi Kurt,

nice to see the colours of our flags mixed up ;-)

>Sending the script is no prob but i can't find out how i can run this scrip automatically.

You can send the script to SQL Server using VFP's ODBC Pass Through capabilities. Load the script into a memory variable and pass it SQLEXEC as the command.

>Can somebody help me out ? or is there a better alternative ?

You could export the dbf to a text file and import it into SQL Server using the BCP untility that comes with SQL-Server. BCP import some thousand records in a second. See SQL Server Online Books for more details and examples.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform