exam questions

Exam 1z0-148 All Questions

View all questions & answers for the 1z0-148 exam

Exam 1z0-148 topic 1 question 37 discussion

Actual exam question from Oracle's 1z0-148
Question #: 37
Topic #: 1
[All 1z0-148 Questions]

A products TABLE exists with a PROD_ID column.
Examine this PL/SQL block:

Which statement is true?

  • A. It executes successfully only if v_ref_cur := DBMS_SQL.TO_REFCURSOR (V_CUR); is added before the FETCH statement.
  • B. It executes successfully.
  • C. It executes successfully only if v_ref_cur: = DBMS_SQL.TO_CURSOR_NUMBER (v_cur); is added before the FETCH statement.
  • D. It executes successfully only if the FETCH statement is replaced by DBMS_SQL.RETURN_RESULT (v_ref_cur);
  • E. It executes successfully only if the FETCH statement is replaced by DBMS_SQL.FETCH_ROWS (v_cur);
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Rakeshpro
2 years, 4 months ago
https://www.guru99.com/dynamic-sql-pl-sql.html
upvoted 1 times
Rakeshpro
2 years, 4 months ago
http://www.dba-oracle.com/t_adv_plsql_to_refcursor.htm
upvoted 1 times
...
...
chrishillinger
2 years, 5 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
CosminCof
4 years, 2 months ago
A is correct
upvoted 2 times
...
peguynya
4 years, 6 months ago
A is the correct answer. for more details check the link below: http://www.dba-oracle.com/t_adv_plsql_to_refcursor.htm
upvoted 1 times
...
orakell
5 years, 2 months ago
A is the only correct answer.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago