All-Or-Nothing Property - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-11-17
dita:mapPath
oxw1641281447623.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
vfj1470443597526
Product Category
Teradata Tools and Utilities

Teradata SQL INSERT statements can be used to add rows of data to a table. They are similar to the write statements used to add records to a file.

Teradata SQL SELECT statements can be used to read rows of data from a table. They are similar to the read statements used to read records from a file.

Occasionally an application requires that a set of Teradata SQL statements must all complete or all be backed out.

Example

If money is being transferred from one account to another, the UPDATE statement that subtracts the amount from the first account and the UPDATE statement that adds the amount to the second account must both take place or neither take place.

Action Result
If the first statement is completed The money would vanish
If the second statement is completed The money would be counted twice