Hi,
I have a question about cursors.
A "Forward_Only" cursor reflects changes to the underlying data, and does not use tempdb.
A "Static" cursor does *not* reflect changes to the underlying data and *does* use tempdb.
So, my question is, if you declare a cursor as:
CURSOR LOCAL FORWARD_ONLY STATIC
aren't you issuing 2 contradictory statements, as it were?
How does this work if one type of cursor is "static" and the other "dynamic" (in the sense that the forward_only cursor reflect changes to the underlying data)
There is some question about this among my colleagues here at work.
Thanks much
I have a question about cursors.
A "Forward_Only" cursor reflects changes to the underlying data, and does not use tempdb.
A "Static" cursor does *not* reflect changes to the underlying data and *does* use tempdb.
So, my question is, if you declare a cursor as:
CURSOR LOCAL FORWARD_ONLY STATIC
aren't you issuing 2 contradictory statements, as it were?
How does this work if one type of cursor is "static" and the other "dynamic" (in the sense that the forward_only cursor reflect changes to the underlying data)
There is some question about this among my colleagues here at work.
Thanks much