1.

The number of values that can be returned from a given stored function is ______________(a) 0(b) 1(c) 2(d) 3I got this question in an interview for job.My enquiry is from PHP Overview topic in division MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

The CORRECT option is (b) 1

The 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