External Table With Null String Passed in OPTIONALLY ENCLOSED BY Clause Hangs
(Doc ID 602279.1)
Last updated on MARCH 08, 2019
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 9.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
NOTE: In the testcase content below, the user information and metadata used represents fictitious data. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
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:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document