Export (0) Print
Expand All
Expand Minimize

sp_help_log_shipping_alert_job (Transact-SQL)


Applies To: SQL Server 2014, SQL Server 2016 Preview

This stored procedure returns the job ID of the alert job from the log shipping monitor.

Applies to: SQL Server (SQL Server 2008 through current version).

Topic link icon Transact-SQL Syntax Conventions


0 (success) or 1 (failure)

This stored procedure returns the Microsoft SQL Server Agent job ID of the log shipping alert job. If no log shipping alert job exists, it returns an empty result set.

sp_help_log_shipping_alert_job must be run from the master database on the monitor server.

Only members of the sysadmin fixed server role can run this procedure.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft