Hi folks,
I have a question regarding auto-generate row oracle using sequence. So the deal is, I need to make a list of inventory based on its quantity. So I have a table with 3 columns,
- Component ID
- Quantity
- Sub_component.
So when user input a component id with quantity 3. I have to generate an oracle sequence of 3 that automatically inputs 3 items in the subcomponent id.
for example,
When user input component id : SX100
and the quantity is : 3
I need to generate 3 subcomponents : SX100-1, SX100-2, SX100-3
Please help me on how to achieve this ..