CHAR type column : CHAR « SQL Data Types « Oracle PL/SQL Tutorial






SQL>
SQL> CREATE TABLE myCharColumnTable (
  2       first_name CHAR(15),
  3       last_name  CHAR(20));

Table created.

SQL>
SQL>
SQL> INSERT INTO myCharColumnTable VALUES ('Jane', 'Smith');

1 row created.

SQL> INSERT INTO myCharColumnTable VALUES ('Christopher', 'Allen');

1 row created.

SQL> SELECT * FROM myCharColumnTable;


FIRST_NAME      LAST_NAME
--------------- --------------------
Jane            Smith
Christopher     Allen

SQL> DROP TABLE myCharColumnTable;

Table dropped.

SQL>
SQL>








10.3.CHAR
10.3.1.CHAR type column
10.3.2.Convert char to number implicit in where clause