I am doing some trouleshoot, can someone help me breakdown this statement below to help me understand clearly. For the most part the statement is select records and looping through the records. After the cursor is the INTO Statement inserting values into the variables below. Look at the bold print below.
FETCH NEXT FROM curDCS INTO @Jobnumber,@Phase,@Hours,@PayType,@TimeSheetDtlID