Data definition language

Syntax for defining data structures

Data definition language

Summary

In the context of SQL, data definition or data description language (DDL) is a syntax for creating and modifying database objects such as tables, indices, and users. DDL statements are similar to a computer programming language for defining data structures, especially database schemas. Common examples of DDL statements include CREATE, ALTER, and DROP. If you see a .ddl file, that means the file contains a statement to create a table. Oracle SQL Developer contains the ability to export from an ERD generated with Data Modeler to either a .sql file or a .ddl file.

Originally created by BL~enwiki

2/2/2004, 2:16:25 PM

Modified

9/27/2025, 8:52:39 PM

Recent revisions

Pppery9/27/2025, 8:52:39 PM

So what?

Mindmatrix11/27/2024, 7:09:22 PM

Reverted edits by [[Special:Contribs/49.185.161.75|49.185.161.75]] ([[User talk:49.185.161.75|talk]]) to last version by WalkingRadiance

49.185.161.7511/27/2024, 5:21:11 PM
49.185.161.7511/27/2024, 5:19:56 PM
49.185.161.7511/27/2024, 5:18:58 PM
Programmatically5/13/2024, 2:53:41 PM

I added a picture of saving a ddl file in Oracle SQL Developer.

Programmatically5/13/2024, 2:47:59 PM

I mentioned Data Modeler for SQL Developer.

Programmatically5/13/2024, 2:44:32 PM

I added details about a .ddl file.

Citation bot1/26/2023, 11:22:17 PM

Add: date. | [[WP:UCB|Use this bot]]. [[WP:DBUG|Report bugs]]. | Suggested by Abductive | #UCB_webform 3178/3850

InternetArchiveBot10/12/2022, 9:12:28 AM

Rescuing 2 sources and tagging 0 as dead.) #IABot (v2.0.9.2

Novem Linguae8/8/2022, 11:28:33 AM

/* External links */ [[WP:BIDIRECTIONAL]]

Cedar1013/18/2022, 6:01:54 AM

/* DROP statement */

Mindmatrix1/25/2022, 12:57:29 AM

Reverted edits by [[Special:Contribs/2402:3A80:1098:EF41:D328:8266:2C99:B149|2402:3A80:1098:EF41:D328:8266:2C99:B149]] ([[User talk:2402:3A80:1098:EF41:D328:8266:2C99:B149|talk]]) to last version by Eevee01

Eevee019/22/2021, 11:35:38 AM

Reverting edit(s) by [[Special:Contributions/41.204.187.5|41.204.187.5]] ([[User_talk:41.204.187.5|talk]]) to rev. 1045777659 by ClueBot NG: [[w:en:WP:RW|(RW 16.1)]]

41.204.187.59/22/2021, 11:34:46 AM
ClueBot NG9/22/2021, 11:33:32 AM

Reverting possible vandalism by [[Special:Contribs/41.204.187.5|41.204.187.5]] to version by Smhdog. [[WP:CBFP|Report False Positive?]] Thanks, [[WP:CBNG|ClueBot NG]]. (4044466) (Bot)

41.204.187.59/22/2021, 11:33:29 AM
Smhdog8/18/2021, 1:28:51 PM

Add DFDL to list of DDL examples

146.233.255.2137/13/2021, 4:48:12 PM

/* CREATE TABLE statement */

Contributors

Source: WikipediaView full article