Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is use of a cursor variable? How it is defined?

7 like 0 dislike
Hello
What is use of a cursor variable? How it is defined?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by DBA-boss (120,990 points)

1 Answer

2 like 0 dislike
 
Best answer
A cursor variable is associated with different statements at run time, which can hold different values at run time. Static cursors can only be associated with one run time query. A cursor variable is reference type (like a pointer in C).
Declaring a cursor variable:
TYPE type_name IS REF CURSOR RETURN return_type type_name is the name of the reference type,return_type is a record type indicating the types of the select list that will eventually be returned by the cursor variable.
answered 1 year ago by eagles11 (179,830 points)

Related questions

5 like 0 dislike
1 answer
5 like 0 dislike
1 answer
7 like 0 dislike
1 answer
7 like 0 dislike
1 answer
5 like 0 dislike
1 answer
asked 1 year ago by rad_joshep (19,390 points)