Server-side functions allow programs to be embedded into the database. These programs can be accessed from client applications and used in database queries. Moving code into the server allows for increased efficiency, maintainability, and consistency. Triggers are special server-side functions that are called when a table is modified.