Stored functions and triggers - MySQL - Quiz

  • A A reusable program that returns a single value
  • B A type of trigger that executes SQL statements automatically
  • C A temporary table used for data storage
  • D A mechanism for defining custom data types in the database
  • A They can modify data in the database
  • B They can only return a single value
  • C They can be called from triggers only
  • D They are executed automatically when a specific event occurs
  • A DROP PROCEDURE
  • B DROP FUNCTION
  • C DROP TRIGGER
  • D DROP DATABASE
  • A Updating multiple records in a table
  • B Inserting data into multiple tables simultaneously
  • C Retrieving the total count of records in a table
  • D Executing complex SQL queries
  • A They can return result sets
  • B They can be called explicitly
  • C They can modify data in the database
  • D They are invoked by stored procedures only
  • A CREATE PROCEDURE
  • B CREATE TRIGGER
  • C CREATE FUNCTION
  • D CREATE TABLE