Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

export table in mssql to foxpro table

Posted on 2002-06-27
4
Medium Priority
?
324 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 400 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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 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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

610 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