Answer:
@@Fetch_Status returns 0,-1 and -2 values.
Where
0 - denotes that Fetch is successfully done meaning row is found.
-1 - denotes that Fetch statement failed or the row was beyond the result set.
-2 - denotes that Row which was fetched are not found or missing.
Asked In: Many Interviews |
Alert Moderator