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,240 points
383 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,740 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
• 28,320 points
391 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
• 52,400 points
103 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
711 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
2,629 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
316 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,630 points
1,103 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
24,578 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
8,324 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,740 points
4,834 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