Focal Point
SQL Passthru - overflows decimal datatype

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7881018331

December 10, 2004, 02:10 PM
reFOCUSing
SQL Passthru - overflows decimal datatype
We are running WF 5.2.5 on a Unix server using an Oracle 10 database and I get the following error on NUMBER fields:

(Oracle Database):
(FOC1400) SQLCODE IS 1457 (HEX: 000005B1)
: ORA-01457: converting column overflows decimal datatype
(FOC1407) SQL FETCH CURSOR ERROR. : SQLOUT

Also we are not using any .mas or .acx files since we are only making direct calls to the database via SQL passthru. I have tried SQL SQLORA SET ORANUMBER DECIMAL but it does not seem to work.

Has anyone else had this problem? Does anyone know if this problem could be solve by upgrading to WF 5.3.2?
December 15, 2004, 03:14 PM
George Brown
I have not had this problem but then I'm not sure I've tried it...

Can you post your query as well as a "describe" on the table you are using?
December 15, 2004, 04:18 PM
reFOCUSing
Here is the SQL:
SQL SQLORA
SELECT FAC_ID
FROM FAC
;
TABLE
END
-RUN

Here is the table information:
FAC_ID NUMBER(11)
FAC_TYPE VARCHAR2(2)
EFF_DATE DATE