122. SQL Server Script to make Database Read Only

-- 122. SQL Server Script to make Database Read Only

ALTER DATABASE [DatabaseName] SET READ_ONLY WITH NO_WAIT