Re: Help Please

From: Anne Crowther <adf0049_at_ggr.co.uk>
Date: 1996/11/08
Message-ID: <3283BBFC.5B53_at_ggr.co.uk>#1/1


Imtiaz Ahmed wrote:
<SNIP>
> eg.
> Begin
> Declare
> Cursor X is
> select column1, column2 into :block1.field1, :block1.field2
> from table1
> where column1<100 ;
> ---
<SNIP>

I agree except:

You should leave out the "into" part when declaring the cursor:

      Cursor X is
      select column1, column2
      from table1
      where column1<100 ;

then do the fetch:

     fetch x into :block1.field1, :block1.field2 etc.

--
Anne Crowther
mailto:adf0049_at_ggr.co.uk
Received on Fri Nov 08 1996 - 00:00:00 CET

Original text of this message