Importing Any Source Table Via The OWB Import Wizard Fails With "ORA-00997 illegal use of LONG datatype" (Doc ID 390335.1)

Last updated on MARCH 31, 2016

Applies to:

Oracle Warehouse Builder - Version 10.2.0.1 to 10.2.0.3 [Release 10.2]
Oracle Warehouse Builder - Version 11.1.0.6 to 11.1.0.6 [Release 11.1]
Information in this document applies to any platform.

Symptoms

The Import Metadata wizard returns the following error when attempting to import a table:

ORA-00997 illegal use of LONG datatype

 This problem can be reproduced in any database with cursor_sharing=force/similar at db level. 

Cause

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