I am wondering if something along the lines of the following is possible in ms-sql (2005)
SELECT (expiry < getdate()) AS Expired FROM MyTable WHERE (ID = 1)
I basically want to evaluate the date compare to a boolean, is that possible in the select part of the statement?