nerdexam
National_Instruments

200-500 · Question #65

After executing a query on a database server, PHP offers several functions to read the resulting lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.). If such functions do not return any…

The correct answer is A. a SELECT statement returned no rows C. the connection to the database server was disconnected during query execution. See the full explanation below for the reasoning.

Question

After executing a query on a database server, PHP offers several functions to read the resulting lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.). If such functions do not return any rows, it means: (Choose 2)

Options

  • Aa SELECT statement returned no rows
  • Bthe transaction has been rolled back
  • Cthe connection to the database server was disconnected during query execution
  • Dthe query was too slow to execute

How the community answered

(30 responses)
  • A
    73% (22)
  • B
    17% (5)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice