exam questions

Exam 1z0-062 All Questions

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

Exam 1z0-062 topic 1 question 36 discussion

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

On your Oracle 12c database, you invoked SQL *Loader to load data into the EMPLOYEES table in the HR schema by issuing the following command:
$> sqlldr hr/hr@pdb table=employees
Which two statements are true regarding the command? (Choose two.)

  • A. It succeeds with default settings if the EMPLOYEES table belonging to HR is already defined in the database.
  • B. It fails because no SQL *Loader data file location is specified.
  • C. It fails if the HR user does not have the CREATE ANY DIRECTORY privilege.
  • D. It fails because no SQL *Loader control file location is specified.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️
Note:
* SQL*Loader is invoked when you specify the sqlldr command and, optionally, parameters that establish session characteristics.

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
rdnkrkmz
Highly Voted 5 years, 11 months ago
Unfortunately there is one correct answer which is A. C is incorrect, I tested on 12.2
upvoted 6 times
NorwayOracle
2 years, 10 months ago
Agree, the create any directory-privilege is only relevant when using External_table=execute as a parameter.
upvoted 1 times
...
...
bkk
Highly Voted 4 years, 9 months ago
But the exam is validated against 12.1
upvoted 5 times
...
Kitevn
Most Recent 3 years, 7 months ago
A,C is correct. When we grant CREATE ANY DIRECTORY to HR, sqlloader will create a temporary directory which is the location of executing sqlldr. If we put the controlfile, parameter file and input data present (name of these file must be the same as name of table), sqlldr will successfully load data into table.
upvoted 1 times
...
smalls87
4 years, 3 months ago
Nevermind, B & C are wrong, because the command won't fail if you omit the .dat & .ctl file. It will ask for it after the sqlldr command is executed.
upvoted 1 times
...
smalls87
4 years, 3 months ago
I thought to load data using SQL Loader you need to specify a control file with mapping....
upvoted 1 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