The first response sounds like it might be correct, but one of the SQL Server books in my library, Special Edition Using Microsoft SQL Server 7.0 (QUE, 1999), gives an example of nested cursors on page 630 that uses a "WHILE @@fetch_status = 0" for each...
I am using a sproc to query 2 tables and input data into a new table for use in a ColdFusion file. I use a cursor to select each row of a table (Issues) and another cursor to select all rows of another table (comments) that match the first cursor's item number, ordered by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.