SQL Server Agent Job Set Up

蓝咒 提交于 2019-12-01 13:47:24

I've successfully run Jobs from SQL Express, there's no built in support for the mangement studio, but you can manually do all the work. it is a pretty long-winded process though. Follow the excellent and very detailed guide in this blog post.

http://www.sqlteam.com/article/scheduling-jobs-in-sql-server-express

Alternatively there is a project to create an SQL Agent for SQL Express: http://standalonesqlagent.codeplex.com/

If you create a linked server on Server2 that points to Server1, yes you can create jobs on Server2 that execute code on Server1 using server1.database.dbo.object syntax.

You can learn about creating linked servers here:

http://technet.microsoft.com/en-us/library/ff772782.aspx

(You'll have to change the version to your version, since you didn't tell us what version you're using. You'll also want to make sure the linked server is collation compatible and supports data access/RPC.)

Of course you will have to deal with security and also how to deal with connectivity failures, and general dependencies between the two servers.

You can add error handling with sp_testlinkedserver.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!