InterviewSolution
Saved Bookmarks
| 1. |
To produce a stored function, which statement is used?(a) PRODUCE FUNCTION(b) CREATE FUNCTION(c) PRODUCE PROCEDURE(d) CREATE PROCEDUREThe question was asked in an interview for job.I want to ask this question from Stored Functions and Procedures in chapter Stored Programs of MySQL |
|
Answer» RIGHT OPTION is (b) CREATE FUNCTION The best explanation: 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. |
|