Lecture Note
University
American Baptist CollegeCourse
CSCI 1534 | Data Analysis and VisualizationPages
1
Academic year
2023
Muthia Marhamah
Views
0
p {margin: 0; padding: 0;} .ft00{font-size:18px;font-family:NimbusRomanRegular;color:#000000;} .ft01{font-size:18px;font-family:NimbusRomanBold;color:#000000;} .ft02{font-size:21px;font-family:NimbusRomanRegular;color:#000000;} Database Object Management Using DDL DDL For Database In the context of SQL, data definition or data description language is a syntax for creating and modifying database objects such as tables, indices, and users. DDL statements are similar to a computer programming language for defining data structures, especially database schemas. A data definition language (DDL) is a computer language used to create and modify the structure of database objects in a database. These database objects include views, schemas, tables, indexes, etc. DDL Command 1. CREATE To create a database and its objects like (table, index, views, store procedure, function, and triggers) 2. ALTER To alters the structure of the existing database 3. DROP Delete objects from the database 4. TRUNCATE Remove all records from a table, including all spaces allocated for the records are removed 5. COMMENT Add comments to the data dictionary 6. RENAME Rename an object
Data Definition Language
Please or to post comments