Click here to Skip to main content
15,886,661 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can we insert data in clob with data length 50000 or more if yes what's the way. If not what's the alternative


What I have tried:

I have tried using clob but getting exception
Insert data in clob with data length 50000 or more
Posted
Updated 8-May-20 3:28am
Comments
Richard MacCutchan 8-May-20 11:25am    
Are you sure that is the actual exception message?

1 solution

The default size for a CLOB is 2GB, so that is not the issue you are facing.
The following documenation show this and has a code sample on how to do the INSERT
Oracle => CLOB data type[^]

Without you actual code, there is no way to really tell you what is wrong. Common problems would be the command line is too long or some other variable being used along the way is being over-filled.
 
Share this answer
 
Comments
itsathere 11-May-20 7:46am    
I am using .net and I am not able to insert data more than 32,767 characters
MadMyche 11-May-20 8:04am    
Without your actual code, there is no way to really tell you what is wrong
You may want to use the "Improve Question" widget to add in the relevant lines of code

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900