Home » MYSQL » MySQL Stored Functions » Question
  1. What is abc in the following statement?
    DECLARE abc HANDLER FOR def ghi;
    1. statement
    2. action
    3. null
    4. condition value
    5. None of these
Correct Option: B

The ‘DECLARE HANDLER’ statement is used to declare a handler. When a condition whose value matches def, MySQL will execute ghi and either continue or exit the current code block.

Your comments will be displayed only after manual approval.