SONAR-5007 fix compatibility with mssql