title: Check if external database is online
body: <p>I know that this sentence tells me that 'MyDatabase' database is online:</p>
  
  <pre><code>select databasepropertyex('MyDatabase', 'Status')
  </code></pre>
  
  <p>What if I need to check a database from another server? Suppose that I already have a link server, the call should be like this:</p>
  
  <pre><code>select databasepropertyex('[192.168.111.33].MyOtherDatabase', 'Status')
  </code></pre>
  
  <p>but it doesn't work, anyone knows how to check this?
  Thank you.</p>