Database Environment Presentation
Database Environment Presentation
ARCHITECTURE
&
ENVIRONMENT
ANSI-SPARC ARCHITECTURE
A language that allows the DBA or user to describe and name the
entities, attributes, and relationships required for the application,
together with any associated integrity and security constraints.
The result of DDL statements will be a set of tables that are
stored in special file called data dictionary.
DDL is a set of Structured Query Language(SQL) commands
used to create, modify, and delete database structures but
not data.
Data Definition Language (DDL)
CREATE: This command is used to create the database or its
objects (like table, index, function, views, store procedure, and
triggers).
DROP: This command is used to delete objects from the database.
ALTER: This is used to alter the structure of the database.
TRUNCATE: This is used to remove all records from a table,
including all spaces allocated for the records are removed.
COMMENT: This is used to add comments to the data dictionary.
RENAME: This is used to rename an object existing in the
database.
Data Manipulation Language (DML)