Merge pull request #975 from narfbg/develop-db-sqlsrv

Improve the SQLSRV (MSSQL) database driver