What is a cursor in SQL?
-
A
A pointer to rows
Correct answer
-
B
A table
-
C
A view
-
D
An index
Correct answer
A. A pointer to rows
9 views
Explanation
A cursor is a pointer used to traverse the rows of a result set one at a time. Source: General DBMS knowledge.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ