This ::rowcount is available after the first fetch only..
Can you post a simplified version of script which does not work for you?
This ::rowcount is available after the first fetch only..
Can you post a simplified version of script which does not work for you?