Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Database Application Development
This discussion is archived
on Dec 5, 2012 1:34 PM by thatJeffSmith-Oracle
Excel import With Sequance Value
Dec 5, 2012 12:36 PM
I need to import data From Excel, but how i can set primary key from a Sequence value??
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: Excel import With Sequance Value
Dec 5, 2012 1:34 PM
in response to
You do it from outside the Excel -> Import wizard in SQL Developer.
Define your table so your column is populated by a sequence. You can do this via an INSERT TRIGGER.
When you define your Import scenario, leave the ID field alone, i.e. set it such that no values are passed, then your trigger will fire and the sequence.nextval will be used.
1 person found this helpful