Article View: borland.public.interbase.sql
Article #11354Re: FOR SELECT LOOP
From: Arno Brinkman
Date: Sun, 24 Nov 2002 00:29
Date: Sun, 24 Nov 2002 00:29
19 lines
1446 bytes
1446 bytes
Indeed Wayne, > > /* Thirth Total */ > > select SUM(InvoiceD.total) > > from Invoices Join InvoiceD ON Invoices.invnum = > > InvoiceD.InvoiceD.number > > where Invoices.date = :DAT and InvoiceD.returnc = 3 > > GROUP BY Invoices.date > > INTO :TOTAL3; > > SUSPEND; > > > end > > end Don't forget the suspend :-) Regards, Arno
Technical Details
Message-ID:
<3de01c75$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ddfb5ea$1@newsgroups.borland.com> <3ddfc059@newsgroups.borland.com> <3ddfdc10@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114a0e,93dd659978b88a04 X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-11-23 16:38:43 PST From: "Arno Brinkman" <bnewsgroups @ abvisie.nl> Newsgroups: borland.public.interbase.sql References: <3ddfb5ea$1@newsgroups.borland.com> <3ddfc059@newsgroups.borland.com> <3ddfdc10@newsgroups.borland.com> Subject: Re: FOR SELECT LOOP Date: Sun, 24 Nov 2002 01:29:54 +0100 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 213.116.126.37 Message-ID: <3de01c75$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038097525 213.116.126.37 (23 Nov 2002 16:25:25 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail