Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Q: ORA-02289 error when using SELECT statement on sequence

Q: ORA-02289 error when using SELECT statement on sequence

From: Scott Stoecker <stoeckerREMOVETHIS_at_pilot.msu.edu>
Date: Tue, 27 Aug 2002 20:01:48 -0400
Message-ID: <akh3vv$1inmd4$1@ID-147295.news.dfncis.de>


I'm a new Oracle DB wanna be (just practicing right now), and, out of curiosity, I created a new user who has SELECT permission to my STUDENTS table. I can select all the rows just fine using a SELECT * statement, but when I use this statement:

 select STUDENT_ID.nextval from sys.STUDENTS

I receive the following error:

ERROR at line 1:
ORA-02289: sequence does not exist

What is happening, and how can I correct it?

Thank you,
Scott Received on Tue Aug 27 2002 - 19:01:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US