CIW
1D0-437 · Question #25
Which of the following choices demonstrates the proper way to close a database connection given that$dbh is the database handle?
The correct answer is C. $dbh->disconnect. See the full explanation below for the reasoning.
Question
Which of the following choices demonstrates the proper way to close a database connection given that$dbh is the database handle?
Options
- ADisconnect=>$dbh;
- Bdisconnect$dbh;
- C$dbh->disconnect;
- Dclose($dbh);
How the community answered
(18 responses)- A11% (2)
- C83% (15)
- D6% (1)
Community Discussion
No community discussion yet for this question.