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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transfer Database object using MSSql

Status
Not open for further replies.

ggman

IS-IT--Management
Nov 12, 2003
1
US
Hi:

I am using the GUI from the MS SQL Enterprise manager to transfer database objects from one server to another server. Does any one have the Script which I can schedule to run on a daily basis or as need which can be invoked from a dos prompt.


Thanks
 
If you have SQL 7 or later, you can create a DTS package and schedule it to run daily or as needed. There are other options depending on the version of SQL running on each server. If you provide a little more detail, I should be able to provide additional suggestions and perhaps show you an example script or point you toward one in the web. Terry
------------------------------------
Experience is the hardest kind of teacher. It gives you the test first, and the lesson afterward.
 
you could use bcp!

bcp dbname..tablename bla bla bla.... the -S would be the source server and the bcp would be run on the target. you then only have to bcp in......

if you have pre or post steps you would then just run them via ISQL....

Paul

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top