1.

What is the generic handle whose meaning depends on context?(a) $dbh(b) $sth(c) $fh(d) $hI had been asked this question in an online interview.My query is from Spatial Data Types topic in section Data Type Reference, Operators and Functions of MySQL

Answer»

Right option is (d) $H

To explain I would say: The variable named ‘$fh’ is a handle to an open file. ‘$h’ is a GENERIC handle and the MEANING depends on context. ‘$dbh’ is a handle to a DATABASE object. ‘$STH’ is a handle to a query object.



Discussion

No Comment Found

Related InterviewSolutions