Use the transfer table command to load data into SAP ASE from a table contained in an external file.
The table you load does not require a unique primary index, unless you are loading data that has changed from data already in the table (you can load new data without any restrictions). However, loading data becomes an issue when a row duplicates data already in the table, and you do not want the data duplicated. To prevent this, a unique primary index allows SAP ASE to find and remove the old row the new row replaces.
Some or all of the transfer operation to fail if the table has any other unique index and the row being inserted duplicates a key within that index
The insert to succeed, but the table erroneously contains two or more rows with this primary key
transfer table titles from '/SAP/data/titles.tmp' for ase
You cannot use all the parameters for the transfer table...from that you use with transfer table. . .to. Parameters that are inappropriate for loading data from a file produce errors and the transfer command stops. Earlier versions of SAP ASE include parameters for the from parameter that are reserved for future use, but transfer ignores these parameters if you include them with your syntax. The parameters for the from parameter are:
column_order=option (does not apply to a load using for ase; reserved for future use)
column_separator=string (does not apply to a load using for ase; reserved for future use)
encryption={true | false} (does not apply to a load using for ase; reserved for future use)
progress=nnn
row_separator=string (does not apply to a load using for ase; reserved for future use)