adplus-dvertising
frame-decoration

Question

What is the variable that is a handle to a database object?

a.

$dbh

b.

$sth

c.

$fh

d.

$h

Posted under MySQL Database

Answer: (a).$dbh

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the variable that is a handle to a database object?

Similar Questions

Discover Related MCQs

Q. The variable that returns code from operations that return true or false is _____________

Q. In PHP, how is the first element accessed if $a represents an array with numeric indices?

Q. Arrays can have associative indices in PHP.

Q. Which operator is used to access property of an object in PHP?

Q. How is the binary log rotated?

Q. How is a delimited-text data file reloaded?

Q. Which program performs logical backups?

Q. The option that suppresses output unless there are errors in the table is _____________

Q. What is the return value from operations returning a row count?

Q. Functions are called and pointers to structures are used while using DBI API.

Q. The mode of search in which the search string is parsed into words and the search looks for rows is ________________

Q. What is the hub of a MySQL installation?

Q. The place where the server stores its databases and status files are called the data directory.

Q. Which program copies the databases from one server to another?

Q. To use ‘mysqldbcopy’ which privileges are required on the source server?

Q. The program that performs logical backups is _____________

Q. In ‘mysqldump’ which option is used to make all tables in the destination databases to use a different storage engine?

Q. Which function returns reference to hash of row values?

Q. The function ‘fetchrow_hashref()’ returns reference to hash of row values keyed by ______________

Q. Which function returns reference to array of row values?