I have below table:
CREATE TABLE movie_det
(
contract VARCHAR2(100),
production VARCHAR2(100),
contract_start_date VARCHAR2(100),
contract_end_date VARCHAR2(100),
production_code VARCHAR2(100),
item_number VARCHAR2(100),
item_desc VARCHAR2(100),
list_price VARCHAR2(100),
l1 VARCHAR2(100),
l2 VARCHAR2(100),
l3 VARCHAR2(100)
);
I have sample file: movie2.xlsx
I'm looking to capture data as below:
CONTRACT
PRODUCTION
CONTRACT_START_DATE
CONTRACT_END_DATE
PRODUCTION_CODE
ITEM_NUMBER
ITEM_DESC
LIST_PRICE
L1
L2
L3
XY-PR-43278
DREAMWORKS CORPORATION
July 21, 2026
May 20 2027
D45002
ITEM-1
DESC-1
$1.00
$2.00
$3.00
$4.00
XY-PR-43278
DREAMWORKS CORPORATION
July 21, 2026
May 20 2027
D45002
ITEM-2
DESC-2
$2.00
$4.00
$6.00
$8.00
To my knowledge, SQL Loader doesn't support xlsx. I'm working with my developer to convert the xlsx file to csv.
Converting xlsx to csv, we might lose header information.
What is the best approach to capture header information and store data as above expected?
Using:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Windows 10