DG4ODBC Returns ORA-904 Selecting From SQL*Server Using FreeTDS ODBC Driver
(Doc ID 978055.1)
Last updated on FEBRUARY 01, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.1 [Release 11.1 to 11.2]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
A query to SQL*Server 2005 using Database Gateway for ODBC (DG4ODBC) 11.2 on Linux x86-64
using unixODBC 2.2.14 driver manager with FreeTDS version 8.0 is returning an error -
ORA-00904 invalid identifier
with the following shown in the gateway trace file -
Entered hgopcda at 2009/12/09-13:15:20
Column:13(ety_date_opened): dtype:11 (???), prc/scl:23/3, nullbl:1, octet:40, sign:1, radix:10
Column 13 (ety_date_opened): dtype 11 (???): this datatype is not supported.
Entered hgopcda at 2009/12/09-13:15:20
Column:13(ety_date_closed): dtype:11 (???), prc/scl:23/3, nullbl:1, octet:40, sign:1, radix:10
Column 13 (ety_date_closed): dtype 11 (???): this datatype is not supported.
Entered hgopcda at 2009/12/09-13:15:20
Column:13(ety_1st_office_phone_area_code): dtype:1 (CHAR), prc/scl:3/3, nullbl:1, octet:3, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/12/09-13:15:20
Column:13(ety_date_opened): dtype:11 (???), prc/scl:23/3, nullbl:1, octet:40, sign:1, radix:10
Column 13 (ety_date_opened): dtype 11 (???): this datatype is not supported.
Entered hgopcda at 2009/12/09-13:15:20
Column:13(ety_date_closed): dtype:11 (???), prc/scl:23/3, nullbl:1, octet:40, sign:1, radix:10
Column 13 (ety_date_closed): dtype 11 (???): this datatype is not supported.
Entered hgopcda at 2009/12/09-13:15:20
Column:13(ety_1st_office_phone_area_code): dtype:1 (CHAR), prc/scl:3/3, nullbl:1, octet:3, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/12/09-13:15:20
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 |