Home Forums SQL Server 2005 Administering Procedure to see database status RE: Procedure to see database status
river1
SSC-Insane
Points: 24302
More actions
July 1, 2010 at 4:45 am
#1187562
Thank you for reply GAIL.
you sugest this?:
select * from master.sys.databases
where [state_desc] <> 'online'
Question:
If a database is suspect what will be is state_desc?
If a database is in read_only what will be is state_desc?
thank you