1.

Which procedure parameter enables the caller to pass in a value and get back a value?(a) IN(b) OUT(c) INOUT(d) GETINOUTThe question was posed to me during an interview for a job.The doubt is from Stored Functions and Procedures in chapter Stored Programs of MySQL

Answer»

Right choice is (C) INOUT

To EXPLAIN I would say: In an IN parameter, the CALLER passes a value into the procedure. An OUT parameter is exactly the opposite. The ‘INOUT’ parameter enables the caller to PASS in a value and also to get back a value.



Discussion

No Comment Found

Related InterviewSolutions