Sybase ASE version: 15.7-SP52
Hi all,
I have a delete statement that will potentially delete millions of rows
DELETE from TAB_A where COL_A='Y'
The delete is long, at some point I'd like to know how many rows were deleted.
If I do SELECT COUNT(*) from TAB_A where COL_A='Y', the query should be locked because of the exclusive-lock held by the DELETE in progress.
If this is the case, how can I actually count the number of rows deleted so far?
Thanks all
Simon