title: Databases created from this point onwards read only set to true
body: <p>I am a beginner at T-SQL. What I need to do is set every database created from this point onwards to be set to read only. I can't seem to find any code online and what I am doing is use</p>
  
  <pre><code>ALTER DATABASE model SET READ_ONLY
  GO
  </code></pre>
  
  <p>but this only sets the model to read only and any created databases from this point will not be set true.</p>
  
  <p>Appreciate any help</p>