Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: possible to 'reset' a sequence by a stored procedure?
Stefan Röhle <roehle_at_uni-mainz.de> wrote in message news:<brur5i$c7h$1_at_bambi.zdv.Uni-Mainz.DE>...
> Hi,
>
> I need to 'reset' a stored procedure each time the year changes (2003->2004).
> So what I usually do is a manual
>
Check this out. Dropping a sequence will invalidate any other objects that depend upon it. You can then build some or all of the following into your PL/SQL procedure.
http://www.jlcomp.demon.co.uk/faq/resetseq.html
Cheers,
Norm.
Received on Mon Dec 22 2003 - 02:35:37 CST
![]() |
![]() |