This website includes Education Information like a programming language, job interview question, general knowledge.mathematics

Education log

PageNavi Results No.

Ads

Saturday, December 7, 2024

what is cursor in sql

 what is cursor in sql

In SQL (Structured Query Language), a cursor is a database object that allows users to access and manipulate data row by row, instead of fetching the entire result set at once.


What is SQL cursor used for?

In SQL Server, a cursor is a database object that allows us to retrieve and manipulate each row one at a time. It is nothing more than a row pointer. A cursor is always used alongside a SELECT command in SQL. It is typically a set of SQL logic that loops through a set number of rows one by one.

No comments:

Post a Comment