Data Definition Language
Encyclopedia
|
| Tutorials | Encyclopedia | Dictionary | Directory |
|
Data Definition Language
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.
SQLA subset of SQL's instructions form another 'DDL'. These SQL statements define the structure of a database, including rows, columns, tables, indexes, and database specifics such as file locations. DDL SQL statements are more part of the DBMS and have large differences between the SQL variations. DDL SQL commands include the following: CREATE statementsCreate - To make a new database, table, index, or stored query.
A CREATE TABLEPerhaps the most common
Column Definitions: A comma-separated list consisting of any of the following
For example, the command to create a table named employees with a few sample columns would be: DROP statementsDrop - To destroy an existing database, table, index, or view. A The typical usage is simply The ALTER statementsAlter - To modify an existing database object. An The typical usage is Referential integrity statementsFinally, other kind of DDL sentence in SQL are the statements to define referential integrity relationships, usually implemented as primary keys and foreign keys tags in some columns of the tables. These two statements can be included inside a CREATE TABLE or an ALTER TABLE sentence. XML SchemaXML Schema is an example of a pure DDL (although only relevant in the context of XML). DDL Tools and Related ApplicationsApache DdlUtilsApache DdlUtils is a small, easy-to-use component for working with Database Definition (DDL) files. These are XML files that contain the definition of a database schema, e.g. tables and columns. These files can be fed into DdlUtils via its Ant task or programmatically in order to create the corresponding database or alter it so that it corresponds to the DDL. Likewise, DdlUtils can generate a DDL file for an existing database. See also
ar:??? ????? ???????? de:Data Definition Language es:Lenguaje de definición de datos eu:Datuak definitzeko lengoaia fr:Langage de définition de données it:Data Definition Language nl:Data Definition Language ja:??????? pl:Create (SQL) pt:Linguagem de definição de dados ru:DDL uk:DDL Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article
|
|
top
©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement