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 to [Release 11.1 to 11.2]
Oracle Database Gateway for SQL Server - Version to [Release 12.1]
Information in this document applies to any platform.


Attempting to insert a LONG column into Oracle 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


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

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