Subject | Re: [firebird-support] Re: Error Message in SP |
---|---|
Author | Helen Borrie |
Post date | 2007-04-25T06:25:54Z |
At 04:14 PM 25/04/2007, you wrote:
It would be interesting to find out why the original version doesn't
work, though. Is that a dialect 1 database? And what is its ODS level?
./heLen
>...but this executes AND shows the PLAN. Should I use this version? TIAIf it works, why not?
>
>begin
>FOR SELECT PIM_APPOINTMENTS.APPOINTMENT_ID FROM PIM_APPOINTMENTS
>WHERE
> EXTRACT(MONTH FROM CAST(APPOINTMENT_STARTTIME AS DATE)) =
> EXTRACT(MONTH FROM CAST(:DATE_IN AS DATE))
> INTO
> :DATE_OUT
> DO
> SUSPEND;
>end
It would be interesting to find out why the original version doesn't
work, though. Is that a dialect 1 database? And what is its ODS level?
./heLen