What happens when the last statement in the code sample in the exhibit is executed?

Click the <<ItemExhibitName>> button to view the exhibit.

image030

What happens when the last statement in the code sample in the exhibit is executed?

A. Row 0 is fetched into sel_var.

B. The run-time error is generated.

C. The value of SQLCA.SQLCODE will equal NOTFOUND.

D. The last row in the active set is fetched into sel_var.

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments