I\'m trying to create a report that gets records from a SQL Server database where the delivery date is today.
I\'ve tried
select * from (tablename) where
Try this:
DECLARE @Today DATETIME SET @Today= CONVERT(date, getdate()) select * from (tablename) where delivery_date = @Today