Stored functions and triggers - MySQL - Quiz

  • 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
  • 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 FUNCTION
  • B PROCEDURE
  • C TRIGGER
  • D TABLE
  • 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 return result sets
  • B They are called explicitly by the application
  • C They can be defined on temporary tables
  • D They are executed before a specific event occurs