Subject | Re: select single row only |
---|---|
Author | Alexander V.Nevsky |
Post date | 2001-08-23T17:20:32Z |
--- In ib-support@y..., Markus Ostenried <chef_007@g...> wrote:
Create Procedure GetOne
Returns (...)
As
Begin
For Select .... Into ....
Do Exception I_Found_It;
When Exception I_Found_It Do Suspend;
End
Where I_Found_It is user defined exception.
Best regards.
> Nando and John,availabe
>
> thanks for the suggestions. But BREAK and FIRST are both only
> from FB 1.0 and upper. And some of my customers don't have thelatest
> FB version.Hi, Markus. I use for a long time BREAK emulation like
Create Procedure GetOne
Returns (...)
As
Begin
For Select .... Into ....
Do Exception I_Found_It;
When Exception I_Found_It Do Suspend;
End
Where I_Found_It is user defined exception.
> If I don't find another way the customers will have to upgradesooner
> than I planned to.But this idea is better, I hope :)))
>
Best regards.