Scripts for DB on triggers and sequences