Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31209

Oracle ODBC connection fails ([HY004] [Oracle][ODBC]Invalid SQL data type )

$
0
0

Hi there,

 

I am trying to ODBC connect to an Oracle database, semi-successfully that is.. The connect "as-is" works. It is only when I try to fetch a table that I get this error (DataSource.Error: ODBC: ERROR [HY004] [Oracle][ODBC]Invalid SQL data type <-25>

 

)odbcerror.png

 

I googled and found this on an IBM help page

 

Cause: "ODBC libraries for Oracle do not support the SQL_C_SBIGINT ODBC type, which corresponds to the int64 SPL type."

 

Solution: "There is no workaround. If you use an Oracle database, do not use the SPL int64 type in your applications."

 

How can I change _not_ to use SPL int64 data type? Or is there another way around this?

 


Viewing all articles
Browse latest Browse all 31209

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>