Insert char value to long type column : Long « Data Type « Oracle PL / SQL






Insert char value to long type column

  

SQL>
SQL> create table l
  2   (c1 long);

Table created.

SQL>
SQL> insert into l
  2   values ('a');

1 row created.

SQL>
SQL> commit;

Commit complete.

SQL>
SQL> alter table l modify (c1 clob);

Table altered.

SQL>
SQL> drop table l;

Table dropped.

SQL>

   
    
  








Related examples in the same category

1.Set long: query a table or view that has a LONG column
2.Change column type from long to clob
3.Demonstrate a method of converting to a LONG column to CLOB:
4.Conversion of Longs to LOBs
5.Long raw type column
6.Long type column