If I have an sql statement:
select call_id, title, description, due_date
from calls
I want to include a column if the condition due_date < getdate() is true.
I was thinking this column would be of type bit, and be set to 1 if condition is true and 0 if condition is false.
Know how I can do this?
1 Answer