Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (9k points)
What is Cursor in SQL?

1 Answer

0 votes
by (45.3k points)

Cursor in SQL is referred to as the temporary workstation or temporary memory. The Database Server allocates it while the user performs Data Manipulation Language (DML) operations on the SQL table.

The Cursors are of two types: Implicit Cursors and Explicit Cursors. The Implicit Cursors are the default SQL Cursors. They are allocated by the SQL Server while performing the DML operations. Explicit Cursors, on the other hand, are created by the users as per requirement. They are used to fetch row-by-row data from the SQL tables.

To learn in detail about the use and creation of Cursors in SQL, you must enroll in SQL Training.

Also, check out this tutorial video on SQL:

Related questions

0 votes
1 answer
asked Jan 29, 2020 in SQL by anmolj (9k points)
0 votes
1 answer
asked Feb 15, 2021 in SQL by adhiraj (4k points)
0 votes
1 answer
asked May 4, 2023 in SQL by neelimakv (32.5k points)
0 votes
1 answer
asked Apr 2, 2021 in SQL by dev_sk2311 (45k points)

Browse Categories

...