A state where all data integrity constraints are satisfied is called a consistent state. It is achieved by ensuring that any data which are going to be written follow the database rules. <span>If a certain attempt to introduce inconsistent data occurs, the attempt is rolled back and an error will be returned to the user.</span>