13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

258 BL_INDEX_OPTIONS= Data Set Option 4 Chapter 11BL_INDEX_OPTIONS= Data Set OptionLets you specify SQL*Loader Index options with bulk loading.Alias: SQLLDR_INDEX_OPTION=Default value: noneValid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: OracleSyntaxBL_INDEX_OPTIONS=any valid SQL*Loader Index optionsegment-nameSyntax Descriptionany valid SQL*Loader Index optionThe value that you specify <strong>for</strong> this option must be a valid SQL*Loader index option,such as one of the following. Otherwise, an error occurs.SINGLEROW Use this option when loading either a direct path with APPENDon systems with limited memory or a small number of recordsinto a large table. It inserts each index entry directly into theindex, one record at a time.SORTEDINDEXESDetailsBy default, DQL*Loader does not use this option to appendrecords to a table.This clause applies when you are loading a direct path. It tellsthe SQL*Loader that the incoming data has already been sortedon the specified indexes, allowing SQL*Loader to optimizeper<strong>for</strong>mance. It allows the SQL*Loader to optimize index creationby eliminating the sort phase <strong>for</strong> this data when using thedirect-path load method.To specify this option, you must first set BULKLOAD=YES.You can now pass in SQL*Loader index options when bulk loading. For details aboutthese options, see the Oracle utilities documentation.ExampleThis example shows how you can use this option.proc sql;connect to oracle ( user=scott pw=tiger path=alien);execute ( drop table blidxopts) by oracle;execute ( create table blidxopts ( empno number, empname varchar2(20))) byoracle;execute ( drop index blidxopts_idx) by oracle;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!