Modern database systems are governed by things about transactions called the ACID principle. In that context, several operations can be grouped into what is called a transaction. From the outside, there are two points in time: before the transaction, and after the transaction. If one operation of this transaction fails, the whole transaction will. In other words: Either all the operations are done, or none is. 