Solved

export table in mssql to foxpro table

Posted on 2002-06-27
4
315 Views
Last Modified: 2010-05-02
hi,

i have 2 questions here:

1) how to write a program to export a table (structure and data) from mssql to foxpro?

2.) a program to export only data in a table (a) from mssql to another table (b) in foxpro?

tq.
0
Comment
Question by:icecool
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 7113001
Which version of MSSQL are you using? If SQL 7.0 or higher then you should look first at the DTS package process. This will allow you to create a predefined package that can take the structure and data (optionally perform modification on the data on the fly as it is being exported) and save it in another database type such as foxpro. The beauty of SQL 2000 is that you can save this package as VB code, modify it to your heart's desire and compile it to be run as and when you like.
0
 

Author Comment

by:icecool
ID: 7113005
i m usign sql 2000
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 7113024
Then definitely use DTS, create the package specifying the source and destination tables and formats, then save it as a VB project. You can then play with this project and customize it into a re-usable application.
0
 

Author Comment

by:icecool
ID: 7245561
Thanks!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question