0

你知道我为什么会出现这个错误以及如何修复它。

SQLServerAgent 无法启动(原因:此 SQL Server Agent 安装已禁用。安装此服务的 SQL Server 版本不支持 SQL Server Agent。)。

我的服务器参数:

10.0.5500.0 SP3 Express Edition with Advanced Services (64-bit)
4

1 回答 1

2

Sql Agent is not available with Express editions : (http://msdn.microsoft.com/en-us/library/cc645993(v=SQL.110).aspx). That's why, for example, you can't schedule report production on Reporting Services.

You may want to batch sqlcmd.

===== EDIT =====

simple sample:

save.sql -----
backup database dbname to disk = 'somepath' with init, format
save.bat -----
"C:\Program Files\Microsoft SQL Server\100\Tools\Binn\SQLCMD.EXE"  -S instanceName -E -i save.sql -o save.log

you may now schedule save.bat (with the windows task scheduler) to make a full backup of dbname

于 2013-07-11T15:28:13.890 回答