How To Update Clob Data In Oracle Sql Developer Install

Re: How to insert / update sql Clob from oracle.sql.CLOB 843859 Feb 14, 2007 11:36 AM ( in response to 843859 ) Actually I mean to say, this is the way you can insert or update into CLOB. Replacing text in an BLOB Column. Or convert your data to a workable CLOB and use standard functions. View BLOB Object in oracle sql developer version 4.0.3.16. In this Video, I am explaining How to update the table Rows using SQL developer In this series we cover the following topics: SQL basics, create table oracle, SQL functions, SQL queries, SQL.

Active6 months ago

How To Update Clob Data In Oracle Sql Developer Installer

My table has one clob column and one blob column. I need to insert data into it through insert statements.

The length of data to be inserted is more than 4000 chars.

When I do export of insert statements is sql navigator I get empty values.

I also tried to do insert it data like this.I have added only example data to be inserted.The actual data to be inserted is large.

Can some one tell me best way to insert data into table in these scenario.

Or anyway to do export and import this data will also help.

PatanPatan

2 Answers

In SQL, the limit is 4,000 characters. Using straight SQL like that, without a bind variable, you'll be limited to 4,000 characters.Steps to insert lob values :

  • 1) Create a table and name it TBL_CLOB with 2 fields:

  • 2) Create a stored procedure and name it P_CLOB with the followingcode:

  • 3) Test inserting up to 32000. Use SQL Plus and enter some starts in the CLOB field:
  • 4) Retrieve the 2 records you just inserted and count the number ofcharacters in the CLOB fields:
  • 5) You should get something like this:

How To Update Clob Data In Oracle Sql Developer Installation

How To Update Clob Data In Oracle Sql Developer Install

Makes sense ?

Up_OneUp_One

For inserting CLOB data using SQL Developer (in my case), you can do something like this:

How To Update Clob Data In Oracle Sql Developer Install

Writing :a will result in a window popping up for you to enter value for parameter :a.

Just write all your '{'customer'asxcbasjbab....:}' in the window that popped up.

How To Update Clob Data In Oracle Sql Developer Installer

I think that should do the work for you.

Vinay Ranjan ShuklaVinay Ranjan Shukla

Not the answer you're looking for? Browse other questions tagged oracleoracle-11g-r2 or ask your own question.