SONAR-3884 Fix compatibility with MsSQL