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!

oracle db nextval

user1254328Jun 18 2013 — edited Jun 18 2013

we have oracle db. we have a table that has 3 columns, one of the column is type number. we want to have  a sequence (nextVal) that will simple generate a new number for this number column each time a row gets inserted. how can we have such a nextval on this number type column  set ? can anyone share the actual sample insert sql that can do this ? we do not want to use Trigger.


thx

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2013
Added on Jun 18 2013
6 comments
412 views