SQL>
SQL> CREATE TABLE employee (
2 id number,
3 name varchar(100),
4 birth_date date,
5 gender varchar2(30) );
Table created.
SQL>
SQL>
SQL> INSERT INTO employee (id,name,birth_date,gender )VALUES (100,'a',to_date('19230823', 'YYYYMMDD'),'MALE' );
1 row created.
SQL>
SQL> select * from employee;
ID
------
NAME
----------------------------------------------------------------------
BIRTH_DATE GENDER
---------- ------------------------------
100
a
23-08-1923 MALE
1 row selected.
SQL>
SQL> UPDATE employee
2 set name = upper(name);
1 row updated.
SQL>
SQL> drop table employee;
Table dropped.
|