Tuesday, October 9, 2007

How to retrieve a Sequence Value?

What is the easiest way to set a sequence to a very high value.

E.g. currval = 100, set it to point to 1100.

Instead of dropping and recreating the sequence again, use the INCREMENT BY option to reset a sequence value. You can also decrement the sequence value by incrementing it with a negative number. Don't forget to reset the increment value to 1 or as the case.

Alter sequence x increment by 1000;select x.nextval from dual;Alter sequence x increment by 1; Tip taken from:http://www.amar-padhi.com/oradb_seq_reset.html

4 comments:

Unknown said...

coach outlet
ray ban
coach outlet
lebron james shoes 2015
michael kors outlet
lebron james shoes 12
nike uk
louis vuitton
louis vuitton
nike running shoes
jordan 3 infrared
coach outlet
michael kors
louis vuitton outlet
polo ralph lauren
fitflops
burberry outlet
burberry outlet
michael kors outlet
michael kors outlet clearance
cartier watches
north face outlet
ralph lauren polo outlet
nfl jerseys wholesale
michael kors outlet
jordan 6
toms outlet
longchamp handbags
adidas trainers
nike trainers
polo ralph lauren outlet
michael kors outlet
michael kors outlet clearance
coach canada
christian louboutin sale
louis vuitton outlet stores
michael kors outlet
replica watches
coach factory outlet
kobe 11
20166.4wengdongdong

Anonymous said...

The AP reported that Manziel's lawyer Bob Hinton mistakenly sent the AP a long text message, which he said later was meant for another attorney,wholesale Indiana Colts flags,
cheap Indianapolis Colts flags,nfl sports flags

Anonymous said...

Da allora a oggi le squadre sono cambiate ma nemmeno troppo. Camisetas de futbol baratas,camisetas AC Milan,
camisetas As Roma baratas

Anonymous said...

Ben 19 infatti i giocatori, più Del Bosque, presenti allora come oggi: chi con le stesse responsabilità,
http://segoviaformacion.com/maglie.asp?calcio=index
http://viveroshontoria.com/maglie.asp?calcio=index
http://www.smiolesa.com/maglie.asp?prezzo=index
http://silicesgomezvallejo.com/maglie.asp?prezzo=index
www.globales.es/maglie.asp?magliette=index
maglie calcio,maglia serie a italia,maglia AC milan 2017