There is a sequence with min value 100.
I want to alter this sequence to min value as 101.
If the table has already data in the sequence column as
100,101,102...
Is it possible to do so ?

Answer Posted / ranvijay

we can only alter MINVALUE,MAXVALYE,Incremented by and
CACHE of sequence.but not alter START WITH.

Alter sequence sequanceName
incremented by 2
minvalue 101;

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sql server agent? : Sql dba

772


Is pl sql useful?

722


What is schema in sql example?

824


What are the built in functions of sql?

757


How would you reference column values before and after you have inserted and deleted triggers?

817






Can we use views in stored procedure?

704


What is integrity in sql?

750


What is the difference between truncate and drop statements?

763


What are the types of optimization?

688


what is the different between now() and current_date()? : Sql dba

702


What are sql queries used for?

762


What is meant by temporal data?

707


What are the advantages of indexing?

728


Is a foreign key always unique?

677


Does sap use sql?

717