Posts by user21928 • 21 points
1 post
-
2
votes1
answer66
viewsQ: Make an IF to set WHERE
I need help with a command in a proc SQL. Basically I need something like this: ... ... WHERE IF ( @Id_ProductClass IS NULL ) WHERE CLIENTPROD.Id_ProductClass NOT IN (59, 150) ELSE WHERE…