Hi ,
I have a procedure which is something like this
select
TEDW_D_DATE_TYPE_1.DATE_SHORT,TEDW_F_EMAIL_CAPTURE.ORDERS_BOUNCE
from
EDW.Calendar.TEDW_D_DATE_TYPE_1full
outerjoinEDW.Retail.TEDW_F_EMAIL_CAPTUREon
TEDW_F_EMAIL_CAPTURE.DATE_KEY= TEDW_D_DATE_TYPE_1.DATE_KEYwhere
TEDW_D_DATE_TYPE_1.DATE_SHORTbetween'2012-08-01'and'2012-08-30'Now i want to use this procedure in a report and if the user picks a particular date then he must be able to see all the values for the whole month not for the day which can be done by above proc but how can i do it dynamic? how can i allow the user to only select 1 date and show all values for whole month? I cannot use start date and end date as i have to use only 1 date.
Can somebody help me with this,
Thanks.