Hi All,
This is SQL 2000 question.
I have a CURSOR loop running using a SELECT query. Lot of processing and if-then-else logic runs within the cursor loop. Let us say, the loop started at 10:00am and while the loop is still running, data in one of the tables in the SELECT is changed. Typically some of the records are deleted and/or inserted. There is also a clustered index on this table and there is a possibility of data being inserted randomly in the table (not at the end of table).
As the underlying data is being changed, how will the FETCH from the cursor affected? The cursor does NOT have FOR READ ONLY clause in there.
Thanks in advance