on 2020 Mar 03 11:47 AM
Hi there
We have a utility that returns certain criteria after checking that a DB is running. The trouble with this is that if the DB is not running it takes forever to return the error 'Database server not found'
SELECT COUNT(*) as Status FROM sa_db_list() WHERE db_name(Number) = 'MyDBName'
If there a faster method, preferably a Boolean, to determine if the DB is running without throwing an error?
User | Count |
---|---|
67 | |
10 | |
10 | |
10 | |
10 | |
8 | |
8 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.