Oracle
1Z0-146 · Question #19
DATA_FILES is a directory object that contains the DETAILS.TXT text file. You have the required permissions to access the directory object. You create a table using the following command: CREATE…
The correct answer is D. The clause RETURNING col2 INTO a_clob should be added to the INSERT statement to correctly. See the full explanation below for the reasoning.
Question
DATA_FILES is a directory object that contains the DETAILS.TXT text file. You have the required permissions to access the directory object. You create a table using the following command:
CREATE TABLE clob_tab(col2 CLOB); View the Exhibit and examine the PL/SQL block that you execute for loading the external text file into the table that currently has no rows. The PL/SQL block results in an error. What correction must be done to ensure the PL/SQL block executes successfully?
Exhibit
Options
- AThe L_OUT variable must be initialized to an empty locator.
- BThe L_OUT variable has to be declared as a temporary LOB.
- CThe A_CLOB variable has to be declared as a temporary LOB.
- DThe clause RETURNING col2 INTO a_clob should be added to the INSERT statement to correctly
How the community answered
(35 responses)- A14% (5)
- B3% (1)
- C6% (2)
- D77% (27)
Community Discussion
No community discussion yet for this question.
