Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is a DDL script in the context of databases?

share|improve this question
Needs more explanation. – ukanth Sep 12 '09 at 10:49

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.

share|improve this answer

You must log in to answer this question.