Red Gate forums :: View topic - ORA-04015: ascending sequences that CYCLE must specify MAXV.
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Schema Compare for Oracle
Schema Compare for Oracle forum

ORA-04015: ascending sequences that CYCLE must specify MAXV.

Search in Schema Compare for Oracle forum
Post new topic   Reply to topic
Jump to:  
Author Message
mihies



Joined: 09 Oct 2006
Posts: 64
Location: Nova Gorica, Slovenia

PostPosted: Fri Feb 10, 2012 2:58 pm    Post subject: ORA-04015: ascending sequences that CYCLE must specify MAXV. Reply with quote

I am getting this error on sequence import:
ORA-04015: ascending sequences that CYCLE must specify MAXVALUE.

This is the SQL DDL:
CREATE SEQUENCE "SOMESCHEMA"."S0492_OPJ_ID" MINVALUE -999999 CYCLE

I manually add MAXVALUE 999999 and then it works.

Oracle 10.2.3.
_________________
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
Blog:http://blog.rthand.com
Righthand .net consulting and software development
http://www.rthand.com
Back to top
View user's profile Send private message
mihies



Joined: 09 Oct 2006
Posts: 64
Location: Nova Gorica, Slovenia

PostPosted: Fri Feb 10, 2012 3:00 pm    Post subject: Reply with quote

Here is the original sequence SQL as SQLDeveloper sees it:
CREATE SEQUENCE "SOMESCHEMA"."S0492_OPJ_ID" MINVALUE -999999 MAXVALUE -1 INCREMENT BY -1 START WITH -1 CACHE 20 NOORDER CYCLE ;
_________________
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
Blog:http://blog.rthand.com
Righthand .net consulting and software development
http://www.rthand.com
Back to top
View user's profile Send private message
Tom Harris



Joined: 06 Oct 2004
Posts: 308

PostPosted: Mon Mar 05, 2012 6:13 pm    Post subject: Reply with quote

Hi,

we have fixed the issue with deploying this type of sequence. I will email you details on where to download the new version.

Kind regards, Tom

Tom Harris, Red Gate
Back to top
View user's profile Send private message
Tom Harris



Joined: 06 Oct 2004
Posts: 308

PostPosted: Fri Mar 09, 2012 2:37 pm    Post subject: Reply with quote

Hi,

this issue has now been released with the latest version of Schema Compare for Oracle.

Many thanks, Tom

Tom Harris, Red Gate
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group