Focal Point
[Solved] Oracle CLOB field not displaying correctly in Excel

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

December 21, 2008, 05:16 PM
Rick Man
[Solved] Oracle CLOB field not displaying correctly in Excel
I have an Oracle table that has a CLOB field (SCBDESC, SCBDESC_TEXT_NARRATIVE). When I output it as FORMAT EXL2K the data gets displayed in multiple rows rather than in one row, as if there are CRLF in there. The MFD was a USAGE=TX50; however, if I change it to USAGE=TX254 (the max) I still get multiple rows but more data per cell. This indicates to me that there are not CRLF in the data.
Changing the ouput to PCHOLD FORMAT ALPHA or COMMA or COMT gets a (FOC702) THE OPTION SPECIFIED IS NOT AVAILABLE WITH TEXT FIELDS:
The goal is to get the data out and import into another system. If I can get into Excel in one cell I know I can export it as a text file and then import it.
Any thoughts or help is appreciated.

This message has been edited. Last edited by: Rick Man,


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
December 21, 2008, 09:07 PM
Waz
You are limited to the FOCUS datatypes.

You can change the usage to Annnn, if you know it is going to be small.


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!

December 22, 2008, 11:08 AM
Rick Man
Thanks Waz. I changed the MFD to A3500 anything over that I got an error on exceeding the length, blah blah blah. So that kind of works. If I run the SQL in TOAD and do a save as Excel it is fine. So being a one time shot (today anyway) guess what I'm going to do? But I do appreciate the help. Thanks again. Rick


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
February 23, 2010, 05:57 PM
paulI
Rick Man, have you been able to get clobs to print on reports? We are trying to use SSBDESC in a report. I tried changing the TX50 to A3500V. This works great but there is garbage on the end of the string (probably carrage controls, etc). Also, we would have to split the string into several parts to get it to print 'nicely'. Any help you can provide would be greatly appreciated. Thanks.


Prod: WF 7.7.05, BID, MRE, 7.7.06M Server, Windows 2008, RedHat, Oracle 11gR1, MS Office 2010
Test: I wish we had one!
August 30, 2010, 01:34 PM
Jay Gandhi
Paul - did you find a work-around for the issue you were having?

We have an Oracle table that has CLOB field and we are trying to output it in Excel format. If I choose to export as Excel Formula, it will put entire field in one cell, but it changes apostrophe and other special characters to some UNICODE numbers and also puts garbage at the end of the string.


Just signed on - don't known these details yet

WebFOCUS version TBD
UNIX
Excel, PDF, HTML, txt files in may be delimited form