all groups > sql server reporting services > august 2005 >
You're in the

sql server reporting services

group:

One Date field with different dates


One Date field with different dates Shan
8/31/2005 11:50:36 AM
sql server reporting services:
I want to search on a date field with user input. How can I make it to where
it will give user a startdate and an enddate box? Remember I have only one
date field.

SELECT COURSE_NBR, ATTEND, COMPL_DATE
FROM EH_MEMINFO_1
WHERE (COURSE_NBR LIKE @COURSE_NBR) or
(COMPL_DATE LIKE @COMPL_DATE)

RE: One Date field with different dates daw
8/31/2005 1:31:04 PM
Use this:
SELECT COURSE_NBR, ATTEND, COMPL_DATE
FROM EH_MEMINFO_1
WHERE (COURSE_NBR LIKE @COURSE_NBR) or
(COMPL_DATE BETWEEN @StartDate AND @EndDate)


[quoted text, click to view]
RE: One Date field with different dates Shan
8/31/2005 1:47:13 PM
O Thank you soo much....that solved lots of problems.

Great Daw!

[quoted text, click to view]
AddThis Social Bookmark Button