Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Date Range SSRS Expand / Collapse
Author
Message
Posted Tuesday, April 28, 2009 6:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, May 15, 2009 5:46 AM
Points: 2, Visits: 25
I use the following in Reporting Services Server to retrive a date range of all values including the time portion.

SELECT *
FROM tblYourTable
WHERE
tblYourTable.DateField >= @Date1
AND tblYourTable.DateField < @Date2 + 1
Post #705729
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse