I have sort of a weird problem:<BR><BR>There is a table that has a column that contains what essentially is a string of comma-separated numbers (in no particular order and they are all 1 or ...
SELECT * FROM table1 WHERE fieldStatus IN (@Status) AND (CASE WHEN @Status = 'Open' AND COUNT(@Status) = 1 THEN fieldDate >= GETDATE() END) I hope that makes sense. Anyone know how to test for a multi ...