Hello,
I have a sybase cursor, which select some fields form several tables for read only.
I checked and there are 260 records. However, when I run the who cursor, which should stop on
if (@@sqlstatus = 2) BREAK

It continues running as infinite loop.
Any idea, why it happened?


Thanks,
Oleg