1. Home
  2. Computing & Technology
  3. Computer Certification
OCP Practice Test
20 Free OCP Practice Questions for the 1Z0-001 Exam

Answer 13

Correct answer: b

Explanation:

When each FETCH returns a row, %ROWCOUNT is incremented by one. The next fetch statement is issued but it will not return a row. Thus, the current value of the %ROWCOUNT attribute is seven, as the query has returned seven rows.

%ROWCOUNT attribute always returns a NUMBER value, so choice D is incorrect.

If a query has returned some rows, then the value of %ROWCOUNT attribute cannot be 0. Thus, choice A is incorrect.

Next page > Question 14

Explore Computer Certification
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Computer Certification

©2009 About.com, a part of The New York Times Company.

All rights reserved.