🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11403

Getting out of a For Select

#11403
From: Jose Carlos
Date: Tue, 26 Nov 2002 14:39
12 lines
1291 bytes
Hi all,

  I have a select in a  stored procedure that can return multiple records
but I only need to get the first one. How can I do it ?
  I haven't found a way to get out of a "for select" and continue executing
mystored procedure. I cannot use a group y clause nor functions like min,
max.
  I am using Interbase 6.0.2 with Win2k.

  Thanks for reading.

Juliano
Technical Details
Message-ID: <3de379e0@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!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,347cf761cb64a319,start
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-11-26 06:06:05 PST
From: "Jose Carlos" <jcmarcussojr@hotmail.com>
Newsgroups: borland.public.interbase.sql
Subject: Getting out of a For Select
Date: Tue, 26 Nov 2002 11:39:28 -0300
Lines: 16
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: 200.191.112.1
Message-ID: <3de379e0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038318048 200.191.112.1 (26 Nov 2002 05:40:48 -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!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail