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!

CLOB and Impromptu

Status
Not open for further replies.

windjuly

Programmer
Mar 4, 2003
2
0
0
US
Hello all:

Does anyone know that if Impromptu 7 supports Oracle CLOB data type? If not, do you have a workaround for it? We have an Impromptu report that reads CLOB data from Oracle server. Apperantly, it is not working.

Thanks for the help!

Jane
 
Hi Windjuly,

Did you find a way to use CLOB fields in Impromptu? I have the exact problem.

Could anyone please help.

Thanks,
Ashish
 
Hi Windjuly,

Yes, Impromptu 7 supports Oracle CLOB data type. If you want to extract data from the CLOB, you first need to create a table containing an XMLType column. Then you can insert the the data from your table that contains the CLOB.

Step 1:
CREATE TABLE TEST_CLOB
{
ID NUMBER (38) NOT NULL,
XML XMLType NOT NULL
};

Step 2:
ALTER TABLE TEST_CLOB
ADD CONSTRAINT TEST_CLOB_PK
PRIMARY KEY (ID);

Step 3:
insert into TEST_CLOB
select id, XMLType(XML)
from ORIGINAL_TABLE;

Finally, you can use the SQL extract command to retrieve the data.

Let me know if this is helpful.

Latonya
 
Hi Latonya:
How about Blob? Would DecisionStream extract the data(blob)?

think you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top