eo
MIS
- Apr 3, 2003
- 809
Hi
I hope I am in the correct forum.
I have a stored procedure which outputs in which Week of the year a date falls. But I am new to stored procedures, and thought that a whole set of data (a field from Crystal reports) can be passed to a stored procedure which will then return the result for each date???
Is my assumption incorrect, is reality that the user running the report, must specify the parameter as required by the stored procedure? In which case a SP is not the solution, because I do not want a user to pass 365 parameters one at a time, I would prefer the report to auto pass the 365 dates to the SP parameter, which will then return the week numbers.
Thanks
EO
Hertfordshire, England
I hope I am in the correct forum.
I have a stored procedure which outputs in which Week of the year a date falls. But I am new to stored procedures, and thought that a whole set of data (a field from Crystal reports) can be passed to a stored procedure which will then return the result for each date???
Is my assumption incorrect, is reality that the user running the report, must specify the parameter as required by the stored procedure? In which case a SP is not the solution, because I do not want a user to pass 365 parameters one at a time, I would prefer the report to auto pass the 365 dates to the SP parameter, which will then return the week numbers.
Thanks
EO
Hertfordshire, England