Platform is a parameter being passed into the stored procedure.
For now it could have 3 different values. If it equals the 3 different values the selected result would depend on that where clause. But if it doesn't meet the 3 different values (for example NULL) then I want all of the data (the data for all 3 values).
Can I write a case statement in a WHERE clause?
Any other day I would be able to figure this out.
For now it could have 3 different values. If it equals the 3 different values the selected result would depend on that where clause. But if it doesn't meet the 3 different values (for example NULL) then I want all of the data (the data for all 3 values).
Can I write a case statement in a WHERE clause?
Any other day I would be able to figure this out.