title: Finding all views that are using linked server
body: <p>I am updating url for linked servers. Before make the changes, I would like to know all views that have reference to this linked servers. Is there any programmatic way (TSQL) to perform this task?</p>
  
  <p>Thanks for your help.</p>
  
  <p>I am using SQL Server 2005, 2008 and 2012. The database servers that referencing linked servers are mostly SQL Server 2005</p>