Avoid Artifacts with High Cyclomatic Complexity (SQL Server) | CAST Appmarq