Subject | Re: [firebird-support] More novice stored procedure questions |
---|---|
Author | Milan Babuskov |
Post date | 2005-03-03T23:09:15Z |
Robert martin wrote:
or
Check if you have values, and if not don't call "suspend":
if (avail is not null) then
suspend;
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org
> SELECT sum(sl.shelfqty), min(spl.PREARRDATE)Either use FOR SELECT ... DO ... where in this place too.
> FROM StockLevel sl
> LEFT JOIN SupplyLine Spl on sl.itemref = spl.itemref
> WHERE sl.Itemref = :i_ItemRef
> INTO :Avail, :Due;
or
Check if you have values, and if not don't call "suspend":
if (avail is not null) then
suspend;
--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org