Focal Point
[SOLVED] Is there a list of supported data types?

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

February 13, 2014, 08:16 AM
flavio.menezes
[SOLVED] Is there a list of supported data types?
Hi, guys. I have a date field in my oracle database using the format number (201402 - meaning yyyymm). So, on WebFOCUS I get this number and put in a DEFINE field using the date type MYY (02/2014).

But when I use this DEFINE field in a TABLE command WebFOCUS can't translate this to SQL. I got the error:

quote:
FOC2590 - AGGREGATION NOT DONE FOR THE FOLLOWING REASON:
FOC2565 - THE OBJECT OF BY/ACROSS CANNOT BE CONVERTED TO SQL
FOC2571 - FIELD DT_COMP_CONCLUSAO HAS AN UNSUPPORTED DATA TYPE


So I've been searching which data types are supported to this conversion for Oracle type but I found nothing. Could you help me? Is there a list of this types?

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.0.02 - Windows 7
February 13, 2014, 09:24 AM
Tony A
Add a define to your synonym something like -
DEFINE MYDATE/A6MYY = SQL.TODATE({your field}, 'mm/yyyy');,$

You'll have to check the Oracle SQL syntax as I do not have Oracle available at the moment. However, this should resolve to passed SQL OK.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
February 13, 2014, 03:03 PM
Waz
Wow, didn't know you could do that.

Fantastic!


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!