1.

Which privilege must be given to the database to create a stored function or procedure?(a) CREATE ROUTINE(b) CREATE METHOD(c) CREATE FUNCTION(d) CREATE PROCEDUREThe question was posed to me in examination.This key question is from Stored Functions and Procedures topic in division Stored Programs of MySQL

Answer» CORRECT answer is (a) CREATE ROUTINE

To explain: 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.


Discussion

No Comment Found

Related InterviewSolutions