How to find database is readonly

Select Databaseproperty ('snippetkey_for_Testing','isReadonly')

it returns 1, if the database is in readonly.



 

Comments