What is data definition language?

What is data definition language?

Data definition language (DDL) is a type of a computer language. Technically, it is a syntax similar to a computer programming language for defining data structures. It is primarily used to define the different structures in a database, including views, schemas, tables, indexes, etc.

DDL statements can be used to create, modify, and remove database objects such as tables, indexes, and users. Some of the common DDL statements are CREATE, ALTER, and DROP.

Data definition language is also known as data description language is some instances as it describes the fields and records in a database table.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.