1.

Which statement is used to produce a stored function?(a) PRODUCE FUNCTION(b) CREATE FUNCTION(c) PRODUCE PROCEDURE(d) CREATE PROCEDUREI got this question in an interview for job.I want to ask this question from PHP Overview in chapter MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

Correct choice is (b) CREATE FUNCTION

The BEST I can explain: The ‘CREATE FUNCTION’ statement is used to create a STORED function in MYSQL. The ‘CREATE PROCEDURE’ statement is used to create a stored procedure INSTEAD, from which values are not RETURNED.



Discussion

No Comment Found

Related InterviewSolutions