Created
June 25, 2014 17:36
-
-
Save pvilas/a9a5ffb36ae74d1f7285 to your computer and use it in GitHub Desktop.
change oracle sequence value without dropping and recreating it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select last_number from user_sequences where sequence_name='INCIDENCIASEG3370_SQ' | |
alter sequence INCIDENCIASEG3370_SQ increment by 1000; | |
select cNCIDENCIASEG3370_SQ.NEXTVAL from dual; | |
commit; | |
alter sequence INCIDENCIASEG3370_SQ increment by 1; | |
commit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment