i can't insert column value greater than 4000 characters at
one instance even i am using CLOB datatype . how to insert
efficiently more than 4000 characters ? And please let me
know how to impose inline and out-of line constraints on
oracle column???

Thanks in Advance...
Prakash

Answers were Sorted based on User's Feedback



i can't insert column value greater than 4000 characters at one instance even i am using CLOB ..

Answer / prakashdasari

we can solve this problem in two ways as of my knowledge.

1)Write that total information (>4000) in a file and upload this file to CLOB data type.

2)Another way is we need to split the string to <=4000 characters substrings and each one need to be append by using to_clob() function available in oracle.

for ex. to_clob('4000characters sub string') | to_clob('4000characters sub string') | to_clob('4000characters sub string') |....... so on.


i used second one for my requirement because i dont want to disturb my well developed product code.Just i added as a extra function.

Than Q...

Is This Answer Correct ?    5 Yes 0 No

i can't insert column value greater than 4000 characters at one instance even i am using CLOB ..

Answer / sushant

I also did same guyzzz !!!

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What are the uses of a database trigger?

0 Answers  


What does `(+)` do in a where clause?

1 Answers  


pls explain connect by prior with example and its real time use

3 Answers  


How to open a cursor variable?

0 Answers  


how to get second highest sal of emp table

6 Answers  


There are three tables : E : EID,ENAME D : DID,DNAME empdept : eid, did select the employees who doesn't belong to any dep

4 Answers   Microsoft,


What is a tns service name?

0 Answers  


What is connection pooling in oracle?

0 Answers  


Which environment variables are absolutely critical in order to run the OUI?

0 Answers  


Two triggers one is before insert and other is after insert are firing on a table.If 10 times you insert in a table.Then how many times before trigger and how many types after trigger will fire in pl/sql.

1 Answers  


what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

0 Answers   Goldman Sachs,


Explain about functional dependency and its relation with table design?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)