1.

A result set is extracted from the database using the cursor object (that has been already created) by giving the following statement.Mydata=cursor.fetchone()(a) How many records will be returned by fetchone() method? (b) What will be the datatype of Mydata object after the given command is executed?

Answer»

(a) One record 

(b) tuple



Discussion

No Comment Found

Related InterviewSolutions