Adapter for legacy code (which uses mssql_ * functions) to work with the php_sqlsrv driver