Hi Experts,
Could you please help me in the below query?
Please help in the below situation, how can create the stored Procedure.
I need to create a stored procedure and need to pass date parameter.
whenever I execute my stored procedure,It'll extract the previous 4 days data.
e.g,If I can run on 16-11-2007 , It should extract 15,14,13,12 data
and main thing is here
If I can run on 20-11-2007(Tuesday) It should extract 19,16,15,14 data.
It can't extract data on saturday and sunday's data.
Lookforward for your Valuble suggetions.
Thanks Inadvance,
Satish Kumar.