An application can enforce the all‑or‑nothing property, but it is much simpler for Teradata Database to enforce it. The server will enforce the all‑or‑nothing property if the server has the information that the statements constitute a transaction. Then, if one of the statements fails, the server aborts the transaction and returns any database that was affected to the state it would have been in if the transaction had not been submitted.