If there are any error in this, say the user does not have select access on this table, then the errorcode will be greater than 0. which means that the following statement will not hold true and the control proceeds to step 3.
2) .IF ERRORCODE=0 THEN .GOTO LAB1;
If Step 1 executes successfully, the errorcode will be equal to 0 and in this case the ".GOTO LAB1" will take the control directly to step 4. Step 3 will be skipped.
3) DROP TABLE TEST;
4) INSERT INTO TEST VALUES(1,2); This query inserts a row into the table TEST.