clob data type : Clob « Data Type « Oracle PL / SQL






clob data type

 

SQL> create table MyTest(
  2     ch clob
  3  );

Table created.

SQL>
SQL> insert into myTest values('A simple line of text');

1 row created.

SQL> insert into myTest values('Line 1; \n line 2');

1 row created.

SQL>
SQL> select * from mytest;

CH
--------------------------------------------------------------------------------
A simple line of text
Line 1; \n line 2

SQL>
SQL>
SQL> drop table myTest;

Table dropped.
           
         
  








Related examples in the same category

1.Use clob type in PL/SQL
2.Use dbms_lob.erase to remove value from clob type value
3.Use dbms_lob.fileopen to open bfile
4.Creating an Internal LOB Table
5.Copying Internal LOBs
6.Appending and Writing to LOBs
7.DBMS_LOB package.
8.Print out the length of the CLOBs previously INSERTed
9.Compare clob data
10.Compare two clobs
11.Append data to clob
12.Assign string value to clob type variable
13.Clob type column
14.Copy clob data
15.In() function with clob data
16.Initialize clob
17.Read clob type data, DBMS_LOB.READ
18.Use between ... and with clob data
19.Use clob to store xml data
20.clob type data as string
21.erase clob data
22.use like operator with clob type data