SQL>
SQL>
SQL> CREATE TABLE myTable (
2 id INTEGER PRIMARY KEY,
3 blob_column BLOB NOT NULL
4 );
Table created.
SQL>
SQL> INSERT INTO myTable(id, blob_column) VALUES (1, EMPTY_BLOB());
1 row created.
SQL>
SQL>
SQL> UPDATE myTable
2 SET blob_column = '100111010101011111'
3 WHERE id = 1;
1 row updated.
SQL>
SQL>
SQL> SELECT *
2 FROM myTable;
SP2-0678: Column or attribute type can not be displayed by SQL*Plus
SQL>
SQL> drop table myTable;
Table dropped.
SQL>
SQL>
|