Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Precision problems numeric(30,10) to number

852597Apr 4 2011 — edited Apr 5 2011
Hi,

We are running 11g Enterprise Edition and are evaluation the Database Gateway for ODBC. The database is running on Windows 2008 R2.
The Gateway has been successfully setup against our MS SQL Server running on Windows 2008 as well.

Almost everything has been working perfectly (selecting from tables/views, executing stored procedures) but we have not been able to solve the case of returning numeric (precision, scale) data type back to Oracle.
F.x. 367.700 is 367 once selected in Oracle.

The documentation states that SQL_NUMERIC(p[,s]) should be converted to NUMBER(p[,s]) but no matter what we always get lose the scale.

We added the parameter HS_FDS_REPORT_REAL_AS_DOUBLE = TRUE as well to the ini file.

Any ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2011
Added on Apr 4 2011
8 comments
1,603 views