This trigger should not allow to insert or update values within the same date of the values that are already on a table, but allows the insert and denies the update