Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select CLOB from table

Status
Not open for further replies.

AlexR

Programmer
Feb 19, 2002
17
0
0
US
How can I run a select statement to read a column of (CLOB) from Oracle. Right now I get this error from Oracle ORA-03115 Unsupported network datatype or representation. The select statement worked fine until some changes were made to the table and a field of VARCHAR2(1000) was changed to a CLOB. I am trying to run a simple select statement on a few fields and one of them is of the type CLOB. So select a, b, c from expTable won't work if c = CLOB. How can i run this statement to get this to work. Thanks for the help.
 
Hi,
IIRC, CLOBs need special handling, check out the docs for
DBMS_LOB package to see what's needed..

[profile]
 
Try to use more recent sql*plus (8.0 and above)
 
Can you tell me how to do this with SQL plus
 
Use an ordinary SELECT statement. If you feel the data is truncated, increase LONG value by

SET LONG 100000
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top