title: Performance: PHP and MS SQL Server: SQLCMD using Exec or Driver
body: <p>I am currrently making queries to my SQL Server using SQLCMD and I run this from PHPs exec() function. I was hoping to clarify that this isn't as efficient as the driver for SQL Server for PHP: <a href="http://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.aspx" rel="nofollow noreferrer">http://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.aspx</a>. I am not sure if this is the same as <a href="http://us3.php.net/manual/en/book.mssql.php" rel="nofollow noreferrer">http://us3.php.net/manual/en/book.mssql.php</a>?</p>
  
  <p>I find that everytime I run an exec command it is quite a slow response and I was hoping to get this confirmed before I move to this new driver and implement it. Is there a performance difference using this Driver rather than using the exec function to launch SQLCMD?</p>
  
  <p>I know this is a bit fluffy, but I really appreciate help on this decision.</p>
  
  <p>Thanks all</p>