An Obsolette Db was deleted while its log-shippin was still enabled. After the deletion of DB, SQL Server is not allowing me to delete the Backup, Copy and Restore jobs. Worst is the LS_Alert job keeps buzzing for this deleted DB. The entry of logshipping is still present in the msdb.dbo.log_shipping_primary_databases.
I have also tried to delete the entry with help of the SP as below query. but no luck. Please help.
EXEC
master.dbo.sp_delete_log_shipping_primary_secondary
@primary_database
=N'xxxx',
@secondary_server
=N'xxxxx',
@secondary_database
=N'xxxxx'