What

Data remains in a valid state (logically correct) before and after a transaction.

How

SQL key definitions: CHECK and ADD CONSTRAINT