πŸ“Š Information Retrival Techniques
Q. insertId attribute returns
  • (A) column id
  • (B) row id
  • (C) user’s id
  • (D) database id
πŸ’¬ Discuss
βœ… Correct Answer: (B) row id

Explanation: 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.


Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
682
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate