Cursor and Its Types

+1 vote
Hi!!

I am new to the Database. Can someone tell me what is a cursor and what are its various types?
Aug 9, 2018 in Database by DataKing99
• 8,250 points
982 views

1 answer to this question.

0 votes

The cursor is a temporary work area which stores the data as well as the result set occurred after manipulation of data retrieved.

 A cursor can hold only one row at a time.

The types of Cursor are:

Implicit cursors: These types of cursors are declared automatically when DML statements like INSERT, UPDATE, DELETE are executed.

Explicit cursors: These types of cursors have to be declared when SELECT statements which are returning more than one row are executed.

answered Aug 9, 2018 by CodingByHeart77
• 3,750 points

Related Questions In Database

0 votes
0 answers

How to see the real SQL query in Python cursor.execute using pyodbc and MS-Access

I use the following code in Python ...READ MORE

Sep 4, 2022 in Database by Kithuzzz
• 38,000 points
1,328 views
0 votes
1 answer

SQL Server: Extract Table Meta-Data (description, fields and their data types)

Unfortunately, you have to utilize sysobjects/syscolumns to ...READ MORE

answered Sep 17, 2022 in Database by narikkadan
• 63,600 points
805 views
0 votes
1 answer

What is MSLAB and LZO?

MSLAB stands for Memstore-Local Allocation Buffer. Lempel-Ziv-Oberhumer (LZO) ...READ MORE

answered Jul 10, 2018 in Database by Data_Nerd
• 2,390 points
1,296 views
0 votes
1 answer

HLog and WAL in Hbase.

All edits in the HStore are stored ...READ MORE

answered Jul 16, 2018 in Database by Data_Nerd
• 2,390 points
3,953 views
0 votes
1 answer

Is it possible to access Couchbase by terminal?

What you want to accomplish isn't possible ...READ MORE

answered Apr 29, 2018 in DevOps & Agile by DareDev
• 6,890 points
793 views
0 votes
1 answer

How to connect Java program to the MySQL database?

You can connect your Java code with ...READ MORE

answered May 11, 2018 in Java by Parth
• 4,640 points
1,932 views
0 votes
1 answer
+1 vote
3 answers

How do I check and export sonarqube analysis reports in embedded db?

Browse to sonarqube web instance to access ...READ MORE

answered Jul 2, 2018 in DevOps Tools by DareDev
• 6,890 points
28,390 views
0 votes
2 answers

Database Lock and its types.

Hello Dataking99, A database lock is used to ...READ MORE

answered Apr 20, 2020 in Database by Niroj
• 82,840 points
18,464 views
0 votes
1 answer

Data Independence & it's types

Data Independence refers to the ability to ...READ MORE

answered Aug 30, 2018 in Database by CodingByHeart77
• 3,750 points
5,743 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP