SQL>
SQL> CREATE TABLE MyTable (
2 id INTEGER PRIMARY KEY,
3 clob_column CLOB NOT NULL
4 );
Table created.
SQL>
SQL>
SQL> INSERT INTO myTable(id, clob_column) VALUES (1, EMPTY_CLOB());
1 row created.
SQL>
SQL>
SQL> UPDATE myTable
2 SET clob_column = 'AAAAA'
3 WHERE id = 1;
1 row updated.
SQL>
SQL> select * from myTable;
ID CLOB_COLUMN
---------- --------------------------------------------------------------------------------
1 AAAAA
SQL>
SQL> drop table myTable;
Table dropped.
SQL>
SQL>
|