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!

Insert List of Numbers Into Table

Angus123Jul 15 2019 — edited Jul 16 2019

Hi

I have a table MYTABLE which has 2 columns

country_code     -- varchar2(3) short code for country

custom_no        -- number(4)

Each country has a group of manua lcustom_no's assigned to them

e.g Germany 1000 - 1999

Netherlands  2000 - 2999

UK                3000 - 3999

How do I write an insert script to insert these values into the table

e.g

DE      1000

DE      1001

NL       2000

NL      2001

UK     3000

Regards

Gus

This post has been answered by RogerT on Jul 15 2019
Jump to Answer
Comments
Post Details
Added on Jul 15 2019
10 comments
1,673 views