title: Is it possible to alter view with nolock in SQL Server?
body: <p>Is it permitted to alter view with nolock? If so, how should I use it if I want to?  </p>
  
  <pre><code>ALTER VIEW dbo.xx_view 
  AS
      SELECT * 
      FROM dbo.yy
  </code></pre>
  
  <p>My current issue is that I have to wait for others finish using <code>dbo.xx_view</code>, then the view can be altered. Is there a way that I can alter the view forcibly, even when others are making queries on it.</p>