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,100 points
15 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,680 points

Related Questions In Database

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,360 points
66 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,360 points
377 views
0 votes
2 answers

Types of relationships in Database

There are 3 types of relationships in ...READ MORE

answered Aug 16, 2018 in Database by zombie
• 3,690 points
25 views
0 votes
1 answer

Types of tables in MySQL

MyISAM is the default table that is ...READ MORE

answered Aug 21, 2018 in Database by CodingByHeart77
• 3,680 points
39 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,810 points
34 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 parth295
• 4,600 points
123 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,810 points
2,189 views
0 votes
1 answer

Database Lock and its types.

Database lock basically signifies the transaction about ...READ MORE

answered Aug 9, 2018 in Database by CodingByHeart77
• 3,680 points
18 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,680 points
59 views