Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can I recycle/restart my sequence on a specific date?

MUmarAliFeb 18 2015 — edited Feb 18 2015

Dear All

Can I recycle/restart my sequence on a specific date? e.g can a sequence be recycled from 1st of July of each year.

Normally I regenerate my Primary Key on the start of financial year for example on 1st July 2013, it became 2014000001, on 1st July 2014, it became 2015000001.

So, in this way, is it possible?

Thanks.

This post has been answered by Frank Kulash on Feb 18 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 18 2015
Added on Feb 18 2015
20 comments
873 views