Fix the bug you identified in the previous lesson by initializing the Top_Value variable.
Prérequis
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:
OPEN cursor_this_customer; |
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.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |