Sep 19, 2005 #1 k108 Programmer Jul 20, 2005 230 US Hi, Is there a sql statement you can run to determine if a particular database is in standby mode? Thanks p.s. I notice that I am able to run certain queries against my standby database. What can and can you *not* do if a database is in standby?
Hi, Is there a sql statement you can run to determine if a particular database is in standby mode? Thanks p.s. I notice that I am able to run certain queries against my standby database. What can and can you *not* do if a database is in standby?
Sep 20, 2005 #2 mutley1 MIS Jul 24, 2003 909 Hi K108, If you are using query analyser, run Code: sp_helpdb and that will return the status of all databases on the server. If you want to look at a particular one just enter the database name after sp_helpdb Code: sp_helpdb YOURDB M. Upvote 0 Downvote
Hi K108, If you are using query analyser, run Code: sp_helpdb and that will return the status of all databases on the server. If you want to look at a particular one just enter the database name after sp_helpdb Code: sp_helpdb YOURDB M.
Sep 20, 2005 Thread starter #3 k108 Programmer Jul 20, 2005 230 US Yes, I use the sp_helpdb command a lot. Unfortunately, it does not tell you if a database is in standby mode. Upvote 0 Downvote
Yes, I use the sp_helpdb command a lot. Unfortunately, it does not tell you if a database is in standby mode.
Sep 20, 2005 1 #4 JamesLean Programmer Dec 13, 2002 3,059 GB Use this: Code: SELECT DATABASEPROPERTYEX('mydb', 'IsInStandBy') --James Upvote 0 Downvote