/* + SYS_DL_CURSOR */This hint, sys_dl_cursorhint

Source: Internet
Author: User
Tags sql loader

/* + SYS_DL_CURSOR */This hint, sys_dl_cursorhint

Run the/* + SYS_DL_CURSOR */hint.

Today in a db SQL statement, encountered this/* + SYS_DL_CURSOR */hint, after baidu, In the post of Huang Wei http://www.hellodba.com/reader.php? ID = 201
It is described as follows:

Syntax: SYS_DL_CURSOR

Description: This prompt is added to the related INSERT statement when running SQL * Loader to load data directly (Direct = TRUE. Direct Load cursor is used to insert data in batches.

Example (after running SQL * Loader to directly load data, you can see the following statement in the shared cache ):

HELLODBA. COM> select SQL _text, module from v $ SQL where SQL _text like 'insert/* + SYS_DL_CURSOR */% ';

 

SQL _TEXT MODULE

Certificate ------------------------------------------------------------------------------------------------------

INSERT/* +SYS_DL_CURSOR*/INTO "DEMO". "T_TABLES_LD" ("OWNER", "TABLE_NAME") VALUES (NULL, NULL)SQL Loader Direct Path Load

 

Record it first. In 11g, there is a view that can query the hint: v $ SQL _hint.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.