UsageUse this statement to refresh an open result set cursor. Calling the REFRESH statement will cause any row changes made by other sessions to appear. This statement is the only way to refresh an insensitive result set cursor, since such a cursor does not automatically reflect changes made by other sessions. See the Result Set Cursor Sensitivity topic for more information on cursor sensitivity.
This statement will only refresh the cursor itself. You must use the FETCH statement to re-fetch the updated data into whatever variables you have declared to hold the fetched column values.
SQL 2003 Standard DeviationsThis statement deviates from the SQL 2003 standard in the following ways: