You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Numeric Overflow with Oracle and Precision less than 19 #222
An error occurs when I try to retrieve large numbers from an Oracle database. The error occurs when a numeric value is greater than 2147483647 and the data type has a precision less than 19.
The following statement works in IDEA:
select CAST(2147483648ASNUMBER(18,0)) as A from dual;
When I try to do this with the DatabaseConnector I get the following error:
>DatabaseConnector::querySql(
+connection,
+"select CAST(2147483648 AS NUMBER(18,0)) as N from dual"+ )
Errorin`.createErrorReport()`:!ErrorexecutingSQL:java.sql.SQLException:NumericOverflowAnerrorreporthasbeencreatedat/.../errorReportSql.txtRun`rlang::last_error()`toseewheretheerroroccurred.>> packageVersion("DatabaseConnector")
[1] ‘6.0.0’
Activity
ChungsooKim commentedon Mar 15, 2023
Hi, The bottom part of this post may help you.
#149 (comment)