πŸ“Š MySQL
Q. Which statements are used to control a cursor variable?
  • (A) OPEN-FOR
  • (B) FETCH
  • (C) CLOSE
  • (D) All mentioned above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All mentioned above

Explanation: There are three statements used to control a cursor variable:
1. OPEN-FOR - open a cursor variable for multi-row query
2. FETCH - it fetches the rows for the result set
3. CLOSE - when all the rows are processed the cursor variable is closed.

Explanation by: Akshay Kulkarni
There are three statements used to control a cursor variable:
1. OPEN-FOR - open a cursor variable for multi-row query
2. FETCH - it fetches the rows for the result set
3. CLOSE - when all the rows are processed the cursor variable is closed.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
278
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akshay Kulkarni
Publisher
πŸ“ˆ
96%
Success Rate