How to Use the BTEQ REPEAT Command | Basic Teradata Query - Using the REPEAT Command - Basic Teradata Query

Basic Teradata® Query Reference

Product
Basic Teradata Query
Release Number
17.00
Published
December 2020
Language
English (United States)
Last Update
2020-12-12
dita:mapPath
zqt1544831938740.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

When using SQL to update database objects, sometimes a particular change needs to be made repeatedly. A large number of import data records might need to be inserted into a table, or a large multi-statement request might need to update several rows. Rather than entering each SQL request individually, use the REPEAT command and issue the request once. This makes the batch scripts much smaller and eliminates the repetitive effort that would otherwise be required when using BTEQ interactively.