adspace


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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a left outer join with the where clause in oracle?

1155


How to put more than 1000 values into an oracle in clause?

1115


Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com

1956


How to start an oracle instance?

1103


How to use values from other tables in update statements using oracle?

1158


Design database draw er diagram for a certain scenario ?

4656


What is oracle latest version?

1174


How to select all columns of all rows from a table in oracle?

1132