External Table With Null String Passed in OPTIONALLY ENCLOSED BY Clause Hangs
Last updated on JANUARY 16, 2017
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 9.2 to 12.1]
Information in this document applies to any platform.
You created an external table with a field termination clause of OPTIONALLY ENCLOSED BY '' that is accepted by the ORACLE_LOADER access driver:
default directory ext
records delimited by newline
fields terminated by ','
optionally enclosed by ''
missing field values are null
location ( 'test.csv' )
-- write input file test.csv in directory EXT with this content:
When the external table is selected in a SQL*Plus session, then this will hang forever and consume CPU:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms