Subject | Re: [firebird-support] Looping a Stored Procedure |
---|---|
Author | Michael Ludwig |
Post date | 2010-05-26T21:31:18Z |
Muthu schrieb am 26.05.2010 um 19:45:48 (-0000):
setup.
I suggest you eliminate everything from your SP that is not relevant to
the problem, leaving in only the relevant parameters, like STARTDATE,
ENDDATE, REPORTSTARTDATE and REPORTENDDATE.
--
Michael Ludwig
> I have a Stored Procedure, which takes startdate and endate as inputIt might be the correct result. Can't tell without the rest of your
> parameters and executes fine and returns values.
>
> I have written another SP that use the existin SP in a loop and get
> results for given number of days. But it is just returning one row.
setup.
I suggest you eliminate everything from your SP that is not relevant to
the problem, leaving in only the relevant parameters, like STARTDATE,
ENDDATE, REPORTSTARTDATE and REPORTENDDATE.
--
Michael Ludwig