开发者

Automatic Database Synchronisation

开发者 https://www.devze.com 2022-12-19 13:34 出处:网络
I am using SQL Server 2008 and Visual Studio 2008 I have two databases.I need to run a query in a database and grab those results

I am using SQL Server 2008 and Visual Studio 2008

I have two databases.

I need to run a query in a database and grab those results and update a table inside another database.

This process would be done every one hour automatically.

How can I do it? Data Transmission Services(DTS) used from SQL 2000?

Is there something better than that?

Or sh开发者_运维问答all I write a windows service to do that?

What are the alternatives?

Is there a tutorial handy?

Thank you!


If you have two databases within the same SQL server instance, you could write a stored procedure and use a SQL Server 'job' to schedule this stored procedure.


you can do 2 work:

1- use replication in sql server 2- write an application that do this work for you. I suggest that use from bcp (bulk copy) for doing this work.

0

精彩评论

暂无评论...
验证码 换一张
取 消