Experiencing FP related to the use of single quotes in T-SQL statements

When pushing SQL script files via GitLab pipeline, SonarQube reports “An illegal character with code point 13 was found in this literal.” where ever our code uses single quotes which is standard syntax when working with strings. i.e. …AND (mirroring_role_desc IS NULL Or mirroring_role_desc != ‘Mirror’). Please review and reply with a solution. We are seeing hundreds of these warnings that’s preventing our pipelines to complete. Thanks

Hi,

Welcome to the community!

Could you provide a reproducer? I.e. a sample of code we can use to verify the problem?

Also, are you analyzing with SonarCloud? Or if you’re using SonarQube / SonarLint, what version are you using?

 
Thx,
Ann