Article View: borland.public.interbase.sql
Article #11301SP... :(((
From: The DeerBear
Date: Wed, 27 Nov 2002 10:08
Date: Wed, 27 Nov 2002 10:08
23 lines
1312 bytes
1312 bytes
CREATE PROCEDURE GETVALUE (TblIndex Varchar(30),
FldIndex Integer)
returns (FldValue Varchar(255))
AS
declare variable counter Integer;
begin
counter = 0;
for select VALORE FROM Tabella having( Select * FROM DOC_Tabella WHERE
ID_TABELLA=:TblIndex)
into FldValue
counter = counter+1
if counter >= 1 then
exit;
Suspend;
end
It seems not being recognizing "Select *" in the "having" clause.
Where may the problem be?
TIA
Andrew
Technical Details
Message-ID:
<3de4999d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114a0e,4ef17858837c20e7,start X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-11-27 02:10:06 PST From: "The DeerBear" <rainaple@tin.it> Newsgroups: borland.public.interbase.sql Subject: SP... :((( Date: Wed, 27 Nov 2002 11:08:28 +0100 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 217.57.210.22 Message-ID: <3de4999d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038391709 217.57.210.22 (27 Nov 2002 02:08:29 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail