Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dropping/Recreating Sequences in Stored Procs

Status
Not open for further replies.

jballum

MIS
Joined
Jul 10, 2000
Messages
161
Location
CA
Are you allowed to drop and then recreate Sequences within a stored procedure?

If not is there a trick to performing this action?

Thanx

JB
 
Yes you can do it; but you need to execute this as dynamic SQL; the syntax for this will obviously differ dependant on the version of Oracle you are using.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top