Cannot Move A Long From non Oracle database Ora-00997: Illegal Use Of Long Datatype

(Doc ID 1246594.1)

Last updated on APRIL 16, 2017

Applies to:

Oracle Database Gateway for DRDA - Version 11.2.0.1 to 11.2.0.1 [Release 11.2]
Oracle Database Gateway for Teradata - Version 10.2.0.1 to 11.2.0.1 [Release 10.2 to 11.2]
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.1 [Release 10.2 to 11.2]
Oracle Database Gateway for SQL Server - Version 10.2.0.1 to 11.2.0.1 [Release 10.2 to 11.2]
Oracle Database Gateway for Sybase - Version 10.2.0.1 to 11.2.0.1 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms


Inserting or updating a SQL*Server table with long datatype gives this error -

ORA-00997: illegal use of LONG datatype

 

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