SONAR-3755 fix IssueDAO select query for mssql