For eg: Table has the 3 columns:
Name varchar(10),
ID int,
Place Varchar(10)
File has ID,name and place in a different order that as the table above:
1|Ram |Ayodhya
2|Rahul|Srilanka
For eg: Table has the 3 columns:
Name varchar(10),
ID int,
Place Varchar(10)
File has ID,name and place in a different order that as the table above:
1|Ram |Ayodhya
2|Rahul|Srilanka
You can specify the column list in the Db2 IMPORT command as part of the INSERT clause.
IMPORT .... INSERT INTO yourTable(ID, NAME, PLACE)
The same reordering of columns can be performed for the LOAD command, too.