Quantcast
Channel: Net Express / Server Express - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 375

When does the FETCH stop?

$
0
0

This might be a simple question...

I declare a cursor for: 

SELECT TOP 10 * FROM tablename

but, there is only 1 row in tablename and I am fetching until SQLCODE = +100

Does the FETCH reach +100 after 1 row or does it keep processing until all 10 have been fetched?

 


Viewing all articles
Browse latest Browse all 375

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>