Home » MYSQL » MySQL Stored Procedures » Question
  1. Which privilege must be given to the database to create a stored function or procedure?
    1. CREATE PROCEDURE
    2. CREATE FUNCTION
    3. CREATE METHOD
    4. CREATE ROUTINE
    5. None of these
Correct Option: D

The ‘CREATE ROUTINE’ privilege must be given for the database in order to create a stored function or procedure. Stored functions and procedures always belong to a particular database.



Your comments will be displayed only after manual approval.