1.

What is meant by cursor? How is it created?

Answer»

A cursor in SQL and databases is a control structure to traverse over the records in a database. So it’s used for the fetching of the results.

Cursor is used for performing all SQL commands. The cursor object is created by calling the cursor( ) method of connection. The cursor is used to traverse the records from the result set.



Discussion

No Comment Found