Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB 6 code for pulling records .

Status
Not open for further replies.

sunnydreams

Technical User
Oct 30, 2005
5
US
I have the records in a database( Table 1) .Now I want to write code, to pull those data from Table1 to different database(Table 2) which is on a different Server and should run that (Table2) code every month.ie.it has to be rerun.

Can anyone of u Pls help me with this code. I use Microsoft Sql server 2000.
If u need any more details let me know.
Thx in advance.
 
Use a DTS package. Schedulle this on the server to run when you need it.


IF you go to EA you should be able to do it yourself with the help of books online, or even without it.

No code required unless you wish to do a specific SELECT.

Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Thx for the update,
My first database(Table1) is in the QA server and the Second one (Table2)in the Development Server.I want to pull teh records from QA to development so that we can rerun that once ina month.

Can u Pls explain abt the DTS package u have mentioned..Will that solve this prob? I am very new to the programming field.Can u Pls help me.

Thx again
 
Ask you DBA or senior programmers for help. they should know.

But this is done through the Enterprise manager interface.

go there, select the Data Transformation Services, select to create a new package, and then add two connections and a data transform task, or select a copy SQL Server objects task.

as I said you should be able to get this going with the help of the online manuals.




Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top