"select sys_store_id.nextval from dual;" should solve the problem.
"sys_store_id.nextval " is not a sqlplus command. It can be used as
"select List-item" in a "sql statement" like the one in my example. A
'select list-item' is normally a column name from the table in the "from
clause" in the sql statement. 


-----Original Message-----
Sent: Wednesday, March 26, 2003 3:19 AM
To: Multiple recipients of list ORACLE-L


Hallo,

I have this sequence,





CREATE SEQUENCE SYS_STORE_ID
    START WITH 1
    INCREMENT BY 1
    NOMAXVALUE
    NOCYCLE
    CACHE 10;


I am trying to run this script,




sys_store_id.nextval:

but get this errormessage:

unknown command beginning "SYS_STORE_..." - rest of line ignored.


How can I solve this problem?

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: Biswas, Pradip
  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