CLOB Field

I have a description field in oracle with CLOB data type. When I add that to a report in Crystal Report, it gives an error failed to open rowset, and gives an oracle error related to BLOB/CLOB. The datasource connection is thru ODBC.

 How can I see the data from this database filed in Crystal reports using ODBC?
BhaskarPuajriAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
crgary_txConnect With a Mentor Commented:
I dont have experience using CLOB datatypes. Heres what I found in one of the BO articles.

"To query an Oracle CLOB datatype, you must manually create an object with
type Character (Oracle 8i) or Long Character (Oracle 9 upwards) in Designer
based on the column that contains the CLOB datatype.
When using Oracle 9 upwards, the CLOB datatype can be read directly.
When using Oracle 8i, the Select statement must contain the following
function: dbms_lob.substr(name of column, number of characters returned,
position of first character). You must ensure that the object type is set to
Character.
Note that in Designer using a connection to Oracle 8i, you cannot display the
column values for columns that contain CLOB datatypes using the View
Column Values command."

hth.
Gary
0
 
crgary_txCommented:
Try connecting using oracle native drivers?

Gary
0
 
BhaskarPuajriAuthor Commented:
It works with Oracle native drivers, but we need to run this reports on analysts PCs through crystal reports runtime provided by CA Service Desk. This uses ODBC and hence the datasource in report jas to be through ODBC drivers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.