14. Data Manipulation Language (DML)
Oracle Tutorial - 13. Data Definition Language (DDL)

13.1 Introduction to Data Definition Language (DDL)

Overview of DDL and its role in database management

Importance of DDL in defining and managing database schema

Comparison between DDL and other SQL languages (DML, DCL)


13.2 Creating and Dropping Database Objects

Creating databases and schemas

Creating tables with CREATE TABLE statement

Dropping databases, schemas, and tables with DROP statement


13.3 Altering Database Objects

Modifying table structure with ALTER TABLE statement

Adding, modifying, and dropping columns

Renaming tables and columns


13.4 Constraints in DDL

Understanding constraints and their role in maintaining data integrity

Types of constraints: Primary key, foreign key, unique, not null, check constraints

Adding and dropping constraints with ALTER TABLE statement


13.5 Indexes in DDL

Introduction to indexes and their importance in query optimization

Creating and dropping indexes with CREATE INDEX and DROP INDEX statements

Understanding different types of indexes (e.g., B-tree, Hash, Bitmap)


13.6 Views in DDL

Creating and dropping views with CREATE VIEW and DROP VIEW statements

Modifying views with ALTER VIEW statement

Using views for data abstraction and security


13.7 Sequences and Synonyms

Creating and dropping sequences with CREATE SEQUENCE and DROP SEQUENCE statements

Using sequences to generate unique numeric values

Creating and dropping synonyms with CREATE SYNONYM and DROP SYNONYM statements


13.8 Partitioning Tables

Understanding table partitioning and its benefits

Creating and dropping partitions with ALTER TABLE statement

Managing partitioned tables for improved performance and manageability


13.9 Data Dictionary Views

Introduction to data dictionary views

Querying data dictionary views to retrieve metadata information

Commonly used data dictionary views for accessing database schema information


13.10 DDL in Transaction Management

Understanding DDL statements in the context of transactions

Transactional properties of DDL statements

Rollback and recovery of DDL operations


13.11 DDL Best Practices and Guidelines

Best practices for using DDL statements effectively

Guidelines for designing and maintaining database schema

Performance considerations and optimization techniques


13.12 Advanced Topics in DDL

DDL in distributed and federated databases

DDL in cloud-based and serverless database environments

Future trends and developments in DDL


14. Data Manipulation Language (DML)