Solved

CLOB Field

Posted on 2008-06-16
3
3,145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to increase the row limit in Jasper Server.
Creating and Managing Databases with phpMyAdmin in cPanel.
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…

739 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