Re: Bugs in Developer 2000?

From: Javier Rojas <jrv_at_quisar.com>
Date: 1998/04/16
Message-ID: <3535FDC8.D3DC2349_at_quisar.com>#1/1


Try this:
select liu.itemid_sequence.nextval INTO VAR_NAME from dual;

Liping Liu wrote:

> I have a simple code
>
> select liu.itemid_sequence.nextval from dual;
>
> for a button. I am puzzled by the so-called internal error (database
> error) during compiling. I do not have a formal explanation but I have
> the following workaround:
>
> 1) Use SQLPlus to login to Oracle server
> 2) Create my own sequence like this:
> create sequence itemid_sequence
> increment by 1
> start with 10011;
> 3) I change the code for Create button as follows:
> select itemid_sequence.Nextval
> from dual;
> 4) Then I get another error saying something about Nextval. So I
> change Nextval to nextval
> 5) I now can compile the code correctly.
> 6) I finally change the code back to my original one:
> select liu.itemid_sequence.Nextval
> from dual;
> 7) It stills compiles without errors
>
> Does anybody out there have explanation for the above?.
Received on Thu Apr 16 1998 - 00:00:00 CEST

Original text of this message