1.

The function ‘fetchrow_hashref()’ returns reference to hash of row values keyed by ______________(a) row name(b) column name(c) table name(d) database nameThis question was posed to me in quiz.My doubt is from Copying Databases to Another Server in chapter Database Maintenance, Backups and Replication of MySQL

Answer» RIGHT answer is (B) column NAME

Easy 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.


Discussion

No Comment Found

Related InterviewSolutions