Subject | Re: Using First in Stored Procedure |
---|---|
Author | Muthu Annamalai |
Post date | 2006-06-29T01:51:11Z |
Thanks that solved my problem
Muthu Annamalai
Muthu Annamalai
> > Hi,
> >
> > I am having problem in using First. Here is my SP
> >
> > SELECT FIRST 3 RECEIPT.RECEIPTNUMBER
> > FROM RECEIPT
> > WHERE RECEIPT.CUSTOMERID = :CUSTOMERID
> > INTO :RECEIPT1, :RECEIPT2, :RECEIPT3;
>
> FOR
>
> SELECT FIRST 3 RECEIPT.RECEIPTNUMBER
> FROM RECEIPT
> WHERE RECEIPT.CUSTOMERID = :CUSTOMERID
> INTO :RECEIPT1
>
> DO
> BEGIN
> SUSPEND;
> END
>
> Adam
>