Solved

CLOB Field

Posted on 2008-06-16
3
3,120 Views
Last Modified: 2013-11-16
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?
0
Comment
Question by:BhaskarPuajri
  • 2
3 Comments
 
LVL 13

Expert Comment

by:crgary_tx
ID: 21793614
Try connecting using oracle native drivers?

Gary
0
 

Author Comment

by:BhaskarPuajri
ID: 21793678
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
 
LVL 13

Accepted Solution

by:
crgary_tx earned 500 total points
ID: 21793912
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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
How to increase the row limit in Jasper Server.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now