Hi, I am very new to Oracle and SQL Loader, this is actually my first sqlldr program that I have written. What I am wondering is why this does not work when it appears to work for everyone that I have found on the web.
My Control File is below
OPTIONS (SKIP = 1)
LOAD DATA
INFILE '/VendorRepository/vendor/test.csv'
REPLACE
INTO TABLE xxhh_ap_suppliers_stg
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(VENDOR_NAME char,
ADDRESS1 char,
CITY char,
STATE char,
ZIP char,
NUM_1099 char
)
My Example data is
VendorName
"Jimmy, Johns", 123 somewhere, TN, 55555, 123456789
Jimmy, Johns should load into Vendor Name but when I run sql loader it ends up in the bad file.
Thanks
My Control File is below
OPTIONS (SKIP = 1)
LOAD DATA
INFILE '/VendorRepository/vendor/test.csv'
REPLACE
INTO TABLE xxhh_ap_suppliers_stg
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(VENDOR_NAME char,
ADDRESS1 char,
CITY char,
STATE char,
ZIP char,
NUM_1099 char
)
My Example data is
VendorName
"Jimmy, Johns", 123 somewhere, TN, 55555, 123456789
Jimmy, Johns should load into Vendor Name but when I run sql loader it ends up in the bad file.
Thanks