Data manipulation language
A data manipulation language (DML) is a computer programming language used for adding (inserting), deleting, and modifying (updating) data in a database.[src] A DML is often a sublanguage of a broader database language such as SQL, with the DML comprising some of the operators in the language.[src] Read-only selecting of data is sometimes distinguished as being part of a separate data query language (DQL), but it is closely related and sometimes also considered a component of a DML; some operators may perform both selecting (reading) and writing.[src] A popular data manipulation language is that of Structured Query Language (SQL), which is used to retrieve and manipulate data in a relational database.[src] Other forms of DML are those used by IMS/DLI, CODASYL databases, such as IDMS and others.[src]
A data manipulation language (DML) is a computer programming language used for adding (inserting), deleting, and modifying (updating) data in a database.[src] A DML is often a sublanguage of a broader database language such as SQL, with the DML comprising some of the operators in the language.[src] Read-only selecting of data is sometimes distinguished as being part of a separate data query language (DQL), but it is closely related and sometimes also considered a component of a DML; some operators may perform both selecting (reading) and writing.[src] A popular data manipulation language is that of Structured Query Language (SQL), which is used to retrieve and manipulate data in a relational database.[src] Other forms of DML are those used by IMS/DLI, CODASYL databases, such as IDMS and others.[src] ==SQL== In SQL, the data manipulation language comprises the SQL-data change statements, which modify stored data but not the schema or database objects.[src] Manipulation of persistent database objects, e.g., tables or stored procedures, via the SQL schema statements, rather than the data stored within them, is considered to be part of a separate data definition language (DDL).[src] In SQL these two categories are similar in their detailed syntax, data types, expressions etc., but distinct in their overall function.[src] The SQL-data change statements are a subset of the SQL-data statements; this also contains the SELECT query statement, which strictly speaking is part of the DQL, not the DML.[src] In common practice though, this distinction is not made and SELECT is widely considered to be part of DML, so the DML consists of all SQL-data statements, not only the SQL-data change statements.[src] The SELECT ...[src] INTO ...[src] form combines both selection and manipulation, and thus is strictly considered to be DML because it manipulates (i.e.[src] modifies) data.[src] Data manipulation languages have their functional capability organized by the initial word in a statement, which is almost always a verb.[src] In the case of SQL, these verbs are: SELECT ...[src] FROM ...[src] WHERE ...[src] (strictly speaking DQL) SELECT ...[src] INTO ...[src] INSERT INTO ...[src] VALUES ...[src] UPDATE ...[src] SET ...[src] WHERE ...[src] DELETE FROM ...[src] WHERE ...[src] For example, the command to insert a row into table employees: INSERT INTO employees (first_name, last_name, fname) VALUES ('John', 'Capita', 'xcapit00'); ==Variants== Most SQL database implementations extend their SQL capabilities by providing imperative, i.e.[src] procedural languages.[src] Examples of these are Oracle's PL/SQL and IBM Db2's SQL_PL.[src] Data manipulation languages tend to have many different flavors and capabilities between database vendors.[src] There have been a number of standards established for SQL by ANSI, but vendors still provide their own extensions to the standard while not implementing the entire standard.[src] Data manipulation languages are divided into two types, procedural programming and declarative programming.[src] Data manipulation languages were initially only used within computer programs, but with the advent of SQL have come to be used interactively by database administrators.[src] ==See also== CRUD ===Statements=== Select (SQL) Insert (SQL) Update (SQL) Delete (SQL) ===Related languages=== Data control language Data definition language Data query language ==References== ==External links== DML Commands in Oracle[src]
40 sentences · 40 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Data manipulation language." encyclopegia.org, 2025, https://encyclopegia.org/wiki/data-manipulation-language. Accessed 27 November 2026.
Chicago
"Data manipulation language." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/data-manipulation-language.
APA
encyclopegia.org. (2025). Data manipulation language. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/data-manipulation-language
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON