English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Mention the difference between fetchone() and fetchmany(). - Computer Science

Advertisements
Advertisements

Question

Mention the difference between fetchone() and fetchmany().

Distinguish Between
Advertisements

Solution

fetchone() fetchmany()
The fetchone() method returns the next row of a query result set fetchmany() method returns the next number of rows (n) of the result set. 
Example: r = cursor. fetchoneQ Example: r = cursor. fetchmanyQ)
shaalaa.com
  Is there an error in this question or solution?
Chapter 15: Data manipulation through SQL - Evaluation [Page 318]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 15 Data manipulation through SQL
Evaluation | Q 2. | Page 318
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×