Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu

Data Definition Language (DDL)

  • Ramez Elmasri
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_80653

Synonyms

Schema definition language

Definition

A DDL is the part of a database language that includes the language constructs to create a database schema in the data model used by a particular database management system (DBMS). For example, in the SQL language for relational databases, the CREATE statement is the main part of the SQL DDL. CREATE can be used to CREATE TABLE (used to create a description of a table’s schema), CREATE TYPE (used to create an abstract data type that can be used as a data type for attributes or for table definitions), CREATE CONSTRAINT (used to create constraints on tables), CREATE DOMAIN (used to create a data type), and so on. For XML, the DDL can be written in a couple of languages including the XML Schema language and the XML DTD (Data Type Definition) language. In object databases, a language called ODL (Object Definition Language) is used as the DDL in the object database standard. Each DBMS will have a DDL to create the schema in the data model of the...

This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    Elmasri R, Navathe S. Fundamentals of database systems. 7th ed. Pearson; 2016.Google Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Computer ScienceThe University of Texas at ArlingtonArlingtonUSA

Section editors and affiliations

  • Ramez Elmasri
    • 1
  1. 1.Computer ScienceThe University of Texas at ArlingtonArlingtonUSA