Database Management System (DBMS - 204) : Experiment # 08 Creating and Managing Tables
Database Management System (DBMS - 204) : Experiment # 08 Creating and Managing Tables
Database Management System (DBMS - 204) : Experiment # 08 Creating and Managing Tables
(DBMS – 204)
Experiment # 08
Student Name:
Roll Number:
Marks Obtained
Experiment evaluated by
4. Modify the EMPA table to allow for longer employee last names. Confirm your modification.
5. Confirm that both the DEPT40 and EMPA tables are stored in the data dictionary.
(Hint:USER_TABLES)
6. Create the EMP2 table based on the structure of the EMP table. Include only the
EMPNO , ENAME , SAL , and DEPTNO columns. Name the columns in your new table
EMPNO , ENAME , SAL , and DEPTNO respectively.
7. Drop the EMP2 table.
8. Rename the EMPA table as EMP3.
9. Add a comment to the DEPT40 and EMPA table definitions describing the tables. Confirm
your additions in the data dictionary.
10. Drop the ENAME column from the EMP3 table. Confirm your modification by checking
the description of the table.
11. In the EMP3 table, mark the DEPTNO column in the EMP3 table as
UNUSED . Confirm your modification by checking the description of the table.
12. Drop all the UNUSED columns from the EMP3 table. Confirm your modification by
checking the description of the table.