Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.
SELECT * FROM TASKS WHERE (DATEPART(hh, REQDATE) BETWEEN '17:00:00' AND '08:00:00') AND (REQDATE BETWEEN CONVERT(DATETIME, '2009-03-30 00:00:00', 102) AND CONVERT(DATETIME, '2009-04-06 00:00:00', 102))
Join the community of 500,000 technology professionals and ask your questions.