Getting error
LRM-00116: syntax error at ')' following ')'
while executing the below SQL*Loader statement from shell script. However, if I execute the same single statement as command line argument, then it is working fine.
Can you please help to understand this error?
sqlldr USR/PWD@HOST control=<(echo "LOAD DATA INFILE input.csv BADFILE input.csv_bad DISCARDFILE input.csv_dsc INSERT INTO table TEMP_INPUT_TBL FIELDS TERMINATED BY ',' TRAILING NULLCOLS (CBPID,SAM_KEY,HHID)")