bteqImport
Last updated: June 9, 2026
Loads data from a delimited file on the BTEQ execution host into a Teradata table. Generates the complete BTEQ import sequence (.IMPORT, .REPEAT, USING, and INSERT) so you do not need to hand-write the multi-command block in a <sql> element.
Getting the USING(...) clause wrong can silently corrupt data. This change type builds it from structured column definitions, reducing the risk of type mismatches.
Note: This change type does not support automatic rollback.
Available attributes
Attribute | Type | Required | Description |
| String | Yes | Absolute path to the input file on the BTEQ execution host. Must not contain newline characters. |
| String | Yes | Target table for the INSERT. |
| String | No | Database or schema qualifier. |
| String | No | Import format. In |
| String | No | Field delimiter character. Applies to |
| String | No | Number of rows to import. Use |
Column nested attributes
Each <pro-teradata:column> element defines a column in the import file and its target data type.
Attribute | Type | Required | Description |
| String | Yes | Column name. Must match a column in the target table. |
| String | Yes | Teradata data type. In |
| String | No | Date or timestamp format string for casting in |
Example code
Be sure to replace your_table, your_author, and your_file_path with your actual values.