Insert CLOB
Posted: 19.12.2008, 10:28
Hi,
I want to insert data into a clob field with SQL, but i got problems with the
4000 car. limit of SQL (it's an Oracle 10G database).
I'm using a ZConnection and a ZQuery, this works for all values except the clob field. The data of the clob field is coming from a memo field in a microsoft access database. And this query will been repeat for all the rows in the database.
Can someone help me ? What is the best way to insert/store clob fields when using Zeos?
Thank you.
I want to insert data into a clob field with SQL, but i got problems with the
4000 car. limit of SQL (it's an Oracle 10G database).
I'm using a ZConnection and a ZQuery, this works for all values except the clob field. The data of the clob field is coming from a memo field in a microsoft access database. And this query will been repeat for all the rows in the database.
Code: Select all
SQL := 'insert into geografisch values (' + actie + ', ' + actie2 + ', ' + actie3 + ', ' + actie4 + ', ' + actie5 + ', ' + actie6 + ', ' + actie7
+ ', ' + actie8 + ', ' + actie9 + ', ' + actie10 + ', ' + actie11 + ')';
ZConnection1.ExecuteDirect(SQL);
Thank you.