Inserting data into CLOB fields
I am trying to insert a 100,000+ byte string into a CLOB field in Oracle, but getting a "string literal too long" error. I am using Visual Basic and ADO to try to accomplish this. My insert statement is:
sql = "INSERT INTO IMAGE_VERSION " & _
"(field1, field2, field3)" & _
"VALUES('" & strNm & "', '" & strDt & "', '" & strData & "')"
Field 3 is defined as a CLOB in the database. From what I understand, the CLOB can hold massive amounts of data.
Can anyone lend a hand?