Database schema definition Language

Source: Internet
Author: User

The database schema definition language DDL (Data Description Language) is the language used to describe the real-world entities to be stored in the database. A database schema contains descriptive definitions for all entities in the database. These definitions include the structure definition, the operation method definition, and so on.

The pattern of DDL description, which must be compiled by computer software and converted into a format convenient for computer storage, querying and manipulating, is called a schema compiler.

Schema compiler processing pattern definitions mainly produce two types of data: data dictionary and data type and structure definition.

The data dictionary and the internal structure information of the database are the basis of creating the database corresponding to the pattern, based on which the logical structure of each database is created; Access to database data, queries based on schema information determine the way and type of data access, and the relationship between data and the integrity of data constraints.

A data dictionary is a representation of the internal information of a pattern, and the data dictionary is stored differently from different DBMS.

The definition of data type and structure means that when an application is connected to a database, the application needs to understand the data types and structures that are generated and extracted. is the data type and structure definition of the user workspace that is provided for the various host languages, which is consistent with the logical structure of the user workspace and the database, and reduces the data conversion process, which is typically defined with a single header file.

There are usually two ways to define a database schema: interactively define patterns and describe text definition patterns through data Description Language DDL.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.