Which statement is true regarding routines and triggers?
- Both run automatically.
- Both are stored in the database.
- Both consist of procedural code.
- Both have to be called to operate.
3. Both consist of procedural code.
Routines, also known as subroutines, are the group of multiple commands that can be called whenever required.
Triggers are a special type of stored procedure containing a set of SQL statements that will be fired automatically whenever any database event occurs. It always resides in the system catalog.
So option C is the correct choice.