InterviewSolution
Saved Bookmarks
| 1. |
fetchrow_hashref() returns reference to hash of row values keyed by ______________(a) row name(b) column name(c) table name(d) database nameThe question was posed to me in an interview for internship.My question is from Putting Perl DBI to Work topic in chapter MySQL Programs Using Perl DBI and PHP of MySQL |
|
Answer» CORRECT choice is (b) column NAME Best explanation: The function ‘fetchrow_hashref()’ returns REFERENCE to hash of ROW values, keyed by the column name. The function ‘fetchrow_arrayref()’ returns a reference to an array of row values. |
|