how to reset all sequence to 0 or 1 at time?
VPSJul 3 2008 — edited Jul 3 2008Friends,
OS: RHEL AS 3
DB: 9iR2
I have some 187 sequences. i want to reset all the sequences to "0" or "1" at a time.
how can i do that?
i its a single sequence, then i will do the below...
for example if i have the x.nextval is 4
alter sequence x increment by -4;
alter sequence x increment by 1;
the above is only for x but i have x,y,z,.......upto 187 sequences...
how can i do that?
any triggers or procedures? or any quick method.
thanks