Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: What is wrong with this?
"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: roland.skoldblom_at_ica.se
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: ListGuru_at_fatcity.com (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: Pradip_Biswas_at_Dell.com
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: ListGuru_at_fatcity.com (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). Received on Wed Mar 26 2003 - 04:53:39 CST
![]() |
![]() |