Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I need to use a WHERE clause so that records are returned when I date field is today.Is there a built in function to do this, e.g. I tried WHERE expirydate = NOW()But that didn't work.The column is datetime and contains a date and a time, the time portion is irrelevent to me in this case.Thanks