Is there any to find whether a database logshipping is enabled or not by using a T-sql query or vbscript?
For expample we can find the status or recoverymodel etc., by using the query
SELECT name, DATABASEPROPERTYEX(name, 'Status')
FROM master.dbo.sysdatabases
ORDER BY 1
like that can we kow about the TransactionLogShipping is enabled or not?
Start Free Trial