to find recovery model in sql server

  • hi,

    I need to find the recovery model of a database in sql server using sql queries

    regards

    Sri

  • SELECT DATABASEPROPERTYEX('Northwind', 'Recovery')

    It then displays the Recovery Models.

    Look at DATABASEPROPERTYEX in Books Online (the helpfile )

    Runaldo

  • hi Runaldo,

    Thx for ur help, it works

    regards

    Sri

  • That will work for 2000 and 2005; what about 7?  Is there a way to find the backup/recovery model of a database in sql 7?

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply