Fix the bug you identified in the previous lesson by initializing the Top_Value variable.
This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Getting started with the debugger.
This lesson assumes that you have completed all preceding lessons. See Lesson 1: Starting the debugger and finding the bug.
Click Mode » Design.
In the right pane, locate the following statement:
Type the following line underneath that initializes the Top_Value variable:
SET top_value = 0;
Click File » Save.
Execute the procedure again and confirm that Interactive SQL displays the correct results.
Close any open Interactive SQL windows.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|