My Oracle Support Banner

DG4MSQL ORA-997 Create Table As SELECT When Inserting A Long Column Into Oracle Database (Doc ID 1148809.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Database Gateway for SQL Server - Version 11.1.0.6 to 11.2.0.3 [Release 11.1 to 11.2]
Oracle Database Gateway for SQL Server - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.


Symptoms

Attempting to insert a LONG column into Oracle 10.2.0.4 from SQL Server via the 11.x Oracle Database Gateway for Microsoft SQL Server (dg4msql) via the COPY as SELECT
fails with error ORA-997
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.