add support for mssql 2005