Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: resetting a sequence
Steven,
You could use the DBMS_SQL package to construct an ALTER SEQUENCE or CREATE SEQUENCE command. I had to develop this logic for a sequence that needed to be reset on the 1st of the month, and it worked, but grants were a little bit difficult to recreate, due to our application standards.
Hope this helps,
Andrew
Steven Egberghs wrote:
> Hi there,
> How can I reset a sequence, from within an application or stored procedure.
> Oracle8, NT4
>
> Thanks
> Steven
Received on Mon Mar 22 1999 - 19:55:36 CST
![]() |
![]() |