Dbms Exp3a
Dbms Exp3a
Name-Nishant Patil
SE-Computer (Div – B) Roll number : 9629
Experiment no. : 3(Part-1) Date:-31/01/23
Academic Term :Jan-April 2023
Aim : To implement data definition language (DDL) commands
Assessment Marks :
Timeliness (2)
DDL/DML/TCL (2)
Applies Appropriate SQL /
PLSQL (3)
Knowledge (2)
Total (10)
Teacher's Sign :
Second Year Computer Engineering Database Management System
Theory SQL: It is structured query language, basically used to pass the query to retrieve
and manipulate the information from database
DDL: The Data Definition Language (DDL) is used to create the database (i.e.
tables, keys, relationships etc), maintain the structure of the database and
destroy databases and database objects.
Eg. Create, Drop, Alter, Describe, Truncate
DESC table_name;
code:-
create table Employee_01(empno numeric(4), ename
varchar(10),designation varchar(10),salary numeric(8,2));
output:-
code:-
alter table Employee_01 alter column empno set data type
numeric(6);
output:-
output:-
output:-
************