A

Admin • 833K Points
Coach

Q. insertId attribute returns

  • (A) column id
  • (B) row id
  • (C) user’s id
  • (D) database id

Explanation by: Admin

insertid attribute returns the row id of the row of the inserted sqlresultset object’s sql statement that is inserted into the database. if multiple rows are inserted then the id of the last row will be returned. if there is no row then invalid_access_err exception will be raised.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.