My Oracle Support Banner

Cannot Move A Long From non Oracle database Ora-00997: Illegal Use Of Long Datatype (Doc ID 1246594.1)

Last updated on JULY 15, 2019

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

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.