improved Microsoft SQL Server handling