用于每月数据传输的SQL作业/包 [英] SQL job/package for monthly data transfer

查看:101
本文介绍了用于每月数据传输的SQL作业/包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在使用SQL Server 2008.我需要将数据从一个数据库传输到同一服务器中的另一个数据库表。但是每个数据库的登录凭据都不同。这项任务需要每月完成。哪种方法最好? SQL作业还是DTS包?请为此问题提出任何好文章。

解决方案

请按照以下步骤操作:



1.使用SQL server导出导入向导。在那里,您可以使用不同的用户名,密码连接不同的服务器。

2.在包的最后一个窗口,您将有一个保存您的工作作为SSIS包的规定(DTS不再可以从SQL 2005获得。

3.使用SQL Agent Job安排每月执行SSIS包。



希望它会有所帮助

Hi,

I am using SQL server 2008. I have a requirement to transfer data from a one database to another database tables which are in the same server. But the login credentials for each of the database is different. This task need to be done monthly basis. Which is the best approach? SQL job or DTS package? Please suggest any good article for this problem.

解决方案

Follow the steps below:

1.Use SQL server Export Import wizard. There you will have facility to connect different server with different userid, password.
2.At the last window of the package you will have a provision to save your works as a SSIS package(DTS is no longer available from SQL 2005).
3.Schedule the the SSIS package to execute monthly basis using SQL Agent Job.

Hope it will helpful.


这篇关于用于每月数据传输的SQL作业/包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆