1.

How many values can be returned from a given stored function?(a) 0(b) 1(c) 2(d) 3This question was posed to me by my college professor while I was bunking the class.Asked question is from Stored Functions and Procedures topic in chapter Stored Programs of MySQL

Answer»

The CORRECT answer is (b) 1

The best explanation: In MySQL, the stored function cannot return multiple values. Instead, multiple stored FUNCTIONS can be written and INVOKED from within a single statement HOWEVER, they are different from stored PROCEDURES.



Discussion

No Comment Found

Related InterviewSolutions