Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

auto-increment identity column through procedure in oracle 10g on windows

NehaRKMar 16 2013 — edited Mar 18 2013
Hi,

I need identity primary key which should be auto increment before while inserting data into table.
for this i had use sequence and then trigger to increment it.

but now i need to increment it in Procedure, while my procedure is having code to insert data in same table which has primary key
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2013
Added on Mar 16 2013
10 comments
2,481 views