I'm trying to understand exactly what you are trying to do.  Oracle thinks that you 
are trying to get the next value for a sequence named SYSTEM_CHANGE_ID, but there is 
no sequence by that name.  If that is what you are trying to do, then either the 
sequence doesn't exist and you need to create it, or it is owned by another schema and 
you need to prefix it by the owner name or create a synonym, or you need SELECT 
privilege on the sequence.

On the other hand, by the name you are giving, maybe you don't really want the next 
value of a sequence, you want something else.  Are you trying to get some system ID?

-----Original Message-----
Sent: Monday, January 26, 2004 7:24 AM
To: Multiple recipients of list ORACLE-L


Hallo,

I would like to make an insert statement into a table in atrigger, Iam trying to do:

Insert into system_change values(system_change_id.nextval) but it gives  me an error 
message which tells me that I havent declared any sequence. How can I fix this ?


Thanks in advance.

Roland


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: John Flack
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to