A trigger which, when executed, carries out a check on the data stored in a database server when the data is changed or created. For example, a trigger may check that a valid post code or zip code has been entered in a database of addresses when a new address has been inserted into the database. Some artificial intelligence systems are based on rules which determine their execution.