title: Enable disable a security policy in SQL Server
body: <p>I have created a Security Policy to implement Row Level Security (RLS) in SQL Server 2016. There is some specific time in a month when the security policy will be applicable. I am planning to write a job which will enable or disable the Security Policy, but I am not getting the SQL command to disable or enable it.</p>
  
  <p>I know that I need to set the check_policy to OFF</p>
  
  <pre><code>CHECK_POLICY = { OFF } 
  </code></pre>
  
  <p>Visually I am able to do it using Sql Server Management Studio by right clicking on the Security Policy.</p>