I've been tring to post same question for a 3rd time and can not get even one
helpfull answer. Please if you do not know do not answer and do not give me
answers like "see this link or that"
I am trying to run SQL statement to update one field with a datatype "clob"
and SQL give me an error "ORA-01704: string literal too long ".
The len of the string I am trying to save is 8336 chr. It could be longer or
shorter depending on a webpage.
If I take only 4000 chr left(XHTML,4000) then everything is fine. I thought
that CLOB take 4GB of text. What am I doing wrong? Please help.
I have a table like this:
CREATE TABLE SMKT.INT_SESSIONLOG
(
LOGID VARCHAR2(50) NOT NULL,
SESSIONID VARCHAR2(50) NOT NULL,
DATECREATED VARCHAR2(50) NOT NULL,
PAGEXML CLOB DEFAULT empty_clob() NULL,
XHTML CLOB DEFAULT empty_clob() NULL,
USERID VARCHAR2(50) NOT NULL,
)
and
update statement like this:
Update INT_SESSIONLOG SET XHTML = '" & mXHTML.xml "' WHERE LogID = '" &
msLogID & "'"
I am trying to run this SQL from VB. For now sql statement inside VB code.
I will create a stored procedure and put it inside a package but not today.
How can I insert/update/select value from clob field.
Most of the time data will be more then 32 K.
Thanks a lot.
helpfull answer. Please if you do not know do not answer and do not give me
answers like "see this link or that"
I am trying to run SQL statement to update one field with a datatype "clob"
and SQL give me an error "ORA-01704: string literal too long ".
The len of the string I am trying to save is 8336 chr. It could be longer or
shorter depending on a webpage.
If I take only 4000 chr left(XHTML,4000) then everything is fine. I thought
that CLOB take 4GB of text. What am I doing wrong? Please help.
I have a table like this:
CREATE TABLE SMKT.INT_SESSIONLOG
(
LOGID VARCHAR2(50) NOT NULL,
SESSIONID VARCHAR2(50) NOT NULL,
DATECREATED VARCHAR2(50) NOT NULL,
PAGEXML CLOB DEFAULT empty_clob() NULL,
XHTML CLOB DEFAULT empty_clob() NULL,
USERID VARCHAR2(50) NOT NULL,
)
and
update statement like this:
Update INT_SESSIONLOG SET XHTML = '" & mXHTML.xml "' WHERE LogID = '" &
msLogID & "'"
I am trying to run this SQL from VB. For now sql statement inside VB code.
I will create a stored procedure and put it inside a package but not today.
How can I insert/update/select value from clob field.
Most of the time data will be more then 32 K.
Thanks a lot.