How to input large text into database
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jie_huang
Posted On:   Wednesday, February 12, 2003 07:58 AM

What I want to do is pretty simple: I need an input box that allows user to provide text (larger than 4kb). When the "submit" button is clicked, a JSP page will save this text into a database such as Oracle.

I have tried a lot of coding but always get into the problem of "string too large". I also see a lot of postings on this issue, but unfortunately, I could not make any sample code work yet.

So, can someone please show me a straight-forward and working code?

Many thanks.

Jie Huang

Re: How to input large text into database

Posted By:   Sujatha_Gopal  
Posted On:   Friday, February 14, 2003 02:17 AM

Re: How to input large text into database

Posted By:   Sujatha_Gopal  
Posted On:   Friday, February 14, 2003 02:15 AM

Try the data Type Long



LONG =
Character data of variable length up to 2 gigabytes (cannot be a key)
About | Sitemap | Contact