DATABASEPROPERTY « System Functions « SQL Server / T-SQL Tutorial






25.5.DATABASEPROPERTY
25.5.1.SELECT DATABASEPROPERTY('mydb', 'IsReadOnly')