1Z0-062 · Question #157
In which two scenarios do you use SQL* Loader to load data?
The correct answer is C. Load data into multiple tables during the same load statement. D. Generate unique sequential key values in specified columns.. SQL*Loader supports loading into multiple tables within a single load session and can generate unique sequential key values using the SEQUENCE clause in the control file.
Question
In which two scenarios do you use SQL* Loader to load data?
Options
- ATransform the data while it is being loaded into the database.
- BUse transparent parallel processing without having to split the external data first.
- CLoad data into multiple tables during the same load statement.
- DGenerate unique sequential key values in specified columns.
How the community answered
(21 responses)- A10% (2)
- B5% (1)
- C86% (18)
Why each option
SQL*Loader supports loading into multiple tables within a single load session and can generate unique sequential key values using the SEQUENCE clause in the control file.
SQL*Loader supports only limited in-line transformation via SQL functions in the control file - complex data transformation during load is better handled by External Tables with full SQL expressions or dedicated ETL tools.
SQL*Loader does not support transparent parallel processing on a single unsplit file - parallel SQL*Loader sessions require the input data to be manually divided into separate files beforehand; External Tables provide more transparent file-level parallelism.
SQL*Loader's control file syntax allows a single load session to direct records into multiple tables simultaneously using multiple INTO TABLE clauses, each optionally filtered by a WHEN condition.
SQL*Loader provides a SEQUENCE function in the control file that generates unique, incrementing values for specified columns during load, which is commonly used to populate surrogate primary keys.
Concept tested: SQL*Loader multi-table load and SEQUENCE key generation
Source: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/sutil/oracle-sql-loader-concepts.html
Topics
Community Discussion
No community discussion yet for this question.