What is a DDL script in the context of databases? [closed]

What is a DDL script in the context of databases?


Solution 1:

DDL = Data Definition Language

From the Wikipedia entry for DDL:

A Data Definition Language (DDL) is a computer language for defining data structures. The term was first introduced in relation to the Codasyl database model, where the schema of the database was written in a Data Definition Language describing the records, fields, and "sets" making up the user Data Model. Initially it referred to a subset of SQL, but is now used in a generic sense to refer to any formal language for describing data or information structures, like XML schemas.

So, for databases, a DDL script is a script that creates the structure (tables, columns, indexes, ...) of a database.