Sagar Akhare (12/16/2013)
Hi All,I want to disable the log shipping in SQL Server 2005, but in my case secondary server is no more exists, when I am going to disable log shipping from primary server it gives error as unable to connect to secondary server.
So it is possible to disable log shipping without secondary server.
Use the following against the primary server
USE Master
exec sp_delete_log_shipping_primary_secondary
@primary_database = 'primary_database',
@secondary_server = 'secondary_server',
@secondary_database = 'secondary_database'
exec sp_delete_log_shipping_primary_database
@database = 'database'
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉