Introducing Agent Safe Governance for the AI Era

bteqInsert

Last updated: June 9, 2026

Provides a structured way to insert rows into a Teradata table through the BTEQ executor. Generates a standard SQL INSERT INTO ... VALUES (...) statement from column definitions specified in XML.

This change type is designed for enterprises with no-raw-SQL policies that require all database changes to go through modeled (structured) change types rather than inline SQL. It can be used in any changeset that has runWith="bteq".

Available attributes

Attribute

Type

Required

Description

tableName

String

Yes

Target table name

schemaName

String

No

Database or schema qualifier. When provided, the table is referenced as schemaName.tableName

Column attributes

Each <pro-teradata:column> element defines a column name and its value. Use exactly one value attribute per column.

Attribute

Type

Description

name

String

Column name (required)

value

String

String value, single-quoted in the generated SQL. Internal single quotes are escaped by doubling (e.g., O'Brien'O''Brien'). Use &quot; in XML for literal double quotes.

valueNumeric

String

Numeric value, inserted without quotes

valueDate

Date

Date value, formatted as DATE 'YYYY-MM-DD'

valueBoolean

Boolean

Boolean value, converted to 1 (true) or 0 (false)

valueComputed

String

Raw expression inserted as-is (e.g., CURRENT_TIMESTAMP)

If no value attribute is set on a column, the value NULL is inserted.

Example code

Be sure to replace your_table and your_author with your actual table name and author. Columns not listed (e.g., quantity, active, created_at) are inserted as NULL.

loading

loading

loading

loading
bteqInsert - Liquibase