I had asked this question before and had received a good response which helped me. But again I am stuck in between. I am attaching my sql loader control file and my sample data files data.
Question is that in the control file I have around a few optional columns at the end, starting from the column TA_NUMBER. These columns may be there or may not be there in the file. I am stuck at the field delimiter that I can give to each of this optionaly column. Because the field delimiter also becomes the row delimter for that column if all other columns are not there in the data file. How should I tackle this?
In the attached file, the first section is the control file structure, the second sections is the data file single record having columns till the column TA_NUMBER. This is sucessfully loaded. The third section is the same data file with one additional column MGR_CODE. But this data fails to load since it is looking for "^M" delimiter for the TA_NUMBER coolumn. CTRL + M is the row delimiter in the data file.
THANKS YOU FOR YOUR TIME AND HELP.