Make Database Read Only
ALTER DATABASE [Database name] SET READ_ONLY WITH NO_WAIT
Make Database Read/Write
ALTER DATABASE [Database name] SET READ_WRITE WITH NO_WAIT
This Blog show you how to make database read onlu or read/write.
ALTER DATABASE [Database name] SET READ_ONLY WITH NO_WAIT
ALTER DATABASE [Database name] SET READ_WRITE WITH NO_WAIT
Join the conversation! Your thoughts help the community grow.
Join to leave a comment
Members earn 10 SHARP for a comment, 10 SHARP for a reaction, and 250 SHARP for every blog they publish.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · SQL ServerBasics of SQL ServerDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Mayur GujrathiPosted May 5, 2011, 9:15 PM EDT
HI Ankit by default it is READ_WRITE or not