Data type to store more than 4000 character in oracle

hi guys,

I am new to Oracle. Have doubt on what data type can be used to store more than 4000 character. Tried with clob and blob but not working.
MANIKANDAN TConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
It's CLOB.

What does "not working" mean?
MANIKANDAN TConsultantAuthor Commented:
Getting error : inserted value too large for column
ste5anSenior DeveloperCommented:
Can you imagine, that no one here can know what you're doing, when you don't tell us anything about your context??

What do you do? Where are you doing this? How are you doing this? What is the complete and exact error message?
Within the context of pl/sql  you can declare varchar2 variables up to 32767 characters.

If you are using 12c your DBA can enable extended varchar2 types and then you can have SQL varchar2 values of 32K including table columns.

If you need more than that, then you should use CLOB.  As mentioned above by others, you'll need to provide some more context for us to help more as to exactly what is going wrong with your code.

Do note, the 12c extended varchar2 values are internally managed as small CLOB values

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.