One of our developers at our site is encountering a problem with the format of numerical data returned from SQL passthrough. Two columns are defined as numeric in Oracle. One is 15,4 - the other is 13,4. However, in the temp file, the master identifies the columns as D20.2.
This is causing problems on the user front.
Is there a setting somewhere that we're missing?
Ken
Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE Databases: Oracle 10g, SQL Server 2000, DB2.
November 29, 2005, 11:51 AM
reFOCUSing
Ken, I ran into this problem too. I was able to get around it by changing some setting in the WF Server. I made the following changes in the edasprof.prf file:
ENGINE SQLORA SET CONVERSION FLOAT PRECISION 20 7 ENGINE SQLORA SET CONVERSION DECIMAL PRECISION 20 7
What this will do is turn all Oracle Numbers that don't have a defined size to D20.7 or P20.7.
I think in WF 5.3.x if you click on the Data Adapter you can make these changes to a specific adapter.
Also when doing a SQL-passthrough you don't use the .mas file.This message has been edited. Last edited by: reFOCUSing,
November 29, 2005, 04:20 PM
k.lane
Thanks C.
Worked out great.
Ken
Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE Databases: Oracle 10g, SQL Server 2000, DB2.
November 30, 2005, 10:27 AM
reFOCUSing
No problem. Just be careful if you are doing calculations in the pass-through as WebFOCUS will convert those values as if they are an Oracle Number. This will result in a D20.7 or P20.7 based on the example I gave you.