Put the SQL fragment for views & triggers into its own method (so it can be overridden in client code)