I had problems with storing data in a CLOB.
But I created a way around it, allthough I hope there is a shorter and
faster way.
I first write the contents of the richtextbox to a file with it's own
command, then I read it back into a bytearray and place that in the dataset.
Then I update the database with the dataset. I now use BLOB instead of CLOB.
I would like it if there is a way of doing this without writing and reading
the file.
rg,
Eric
"Miha Markic [MVP C#]" <miha at rthand com> schreef in bericht
news:uD$(E-Mail Removed)...
> 4000 characters is the limit for nvarchar2
> Are you having problems with nvarchar2 or clob?
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & software development
> miha at rthand com
> www.rthand.com
>
> "EMW" <(E-Mail Removed)> wrote in message
> news:405622f2$0$41758$(E-Mail Removed)...
> > I have a table in a dataset with 4 columns.
> > Except for the third, all columns are NVARCHAR2.
> >
> > The third is a CLOB. I read it can hold up to 4Gb.
> >
> > The column of the dataset is bound with a textbox, so the datalimit is
> 32kb.
> >
> > But when I store more then 4000 characters into the dataset and then
write
> > the row in to the oracle database (with an INSERT INTO sql line) , I get
> an
> > error. "ORA-01704"
> >
> > I've read somewhere it is possible to write more then 4000 characters at
> > once into the database, but I can't seem to find the right documentation
> for
> > it.
> >
> > Can anyone give me some pointers on how to do this, or some links of
pages
> > where a good explaination can be found?
> > References to books is of no use, can't afford them at the moment.
> >
> > rg,
> > Eric
> >
> >
>
>