Junior
ADO.NET
ADO.NET
What is the difference between a forward-only cursor and a static cursor in ADO.NET?
- Forward-only cursor: A cursor that allows you to read rows sequentially in a forward
direction only. It is fast and lightweight, but you cannot go back to previous rows.
- Static cursor: A cursor that allows both forward and backward navigation. It provides
a snapshot of the data and remains unchanged even if the data in the database
changes during the operation. It is slower and consumes more memory compared to
a forward-only cursor.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png