हिंदी

Which method is used to get the row-id of the last modified row? -

Advertisements
Advertisements

प्रश्न

Which method is used to get the row-id of the last modified row?

विकल्प

  • cursor.getrowid()

  • cursor.endrowid()

  • cursor.lastrowid()

  • cursor.exitrowid()

MCQ

उत्तर

cursor.lastrowid()

Explanation:

This read-only property returns the value generated for an AUTO_INCREMENT column by the previous INSERT or UPDATE statement.

shaalaa.com
Functions in SQL
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×