title: SQL query to SQL Server 2005 remotely using Borland Delphi
body: <p>What is the simplest way to execute a SQL query to a SQL Server 2005, remotely, using Borland Delphi?</p>
  
  <p>In this case, I am using Borland Delphi 7.</p>
  
  <p>The simplest way means, if I must use 3rd party component, it should be integrated in the application (not separate/complicated installation).</p>
  
  <p>The thing is, I want to be able to check if the remote SQL server is alive.</p>
  
  <p>I know, we can use network "ping", but that does not mean the SQL server is fully accessible and functional.</p>
  
  <p>Thanks in advance for any tips :)</p>