SELECT [test]
from table.report
where 20200611 between date_start and date_end
Does anyone know how to do this....I need to make this 20200611 dynamic so it's always the current Monday of the week in this date format.
Nevermind, this one should do:
SELECT [test]
from table.report
where convert(varchar, getdate(), 112) between date_start and date_end
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
User | Count |
---|---|
104 | |
72 | |
69 | |
47 | |
47 |
User | Count |
---|---|
161 | |
85 | |
76 | |
68 | |
67 |