Home » MYSQL » Data Types » Question
  1. Which variable is a handle to a database object?
    1. $sth
    2. $h
    3. $dbh
    4. $fh
    5. None of these
Correct Option: C

The variable named ‘$dbh’ 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.



Your comments will be displayed only after manual approval.