Home  >  Article  >  Database  >  What is the command to modify the table structure in sql statement?

What is the command to modify the table structure in sql statement?

藏色散人
藏色散人Original
2020-07-10 10:53:2745536browse

The command to modify the table structure in the sql statement is "ALTER TABLE", because in Visual FoxPro, there are two commands to modify the table structure, namely ALTER TABLE, which is used for SQL commands to modify the table structure; and MODIFY STRUCTURE is to modify the structure of the table in the table designer.

What is the command to modify the table structure in sql statement?

The operating environment of this tutorial: windows7 system, mysql8 version, Dell G3 computer.

The command to modify the table structure in the sql statement is ALTER TABLE

In Visual FoxPro, there are two commands to modify the table structure: ALTER TABLE: Modify with SQL commands The structure of the table; MODIFY STRUCTURE: Modify the structure of the table in the table designer; The question requires a command to modify the table structure in the SQL statement, so the command is ALTER TABLE.

SQL related introduction:

Structured Query Language (SQL), referred to as SQL, is a special-purpose programming language, a database query and programming language, used for storage Fetch data and query, update and manage relational database systems.

Structured Query Language is a high-level, non-procedural programming language that allows users to work on high-level data structures. It does not require users to specify the data storage method, nor does it require users to understand the specific data storage method, so different database systems with completely different underlying structures can use the same structured query language as the interface for data input and management. Structured Query Language statements can be nested, which makes it extremely flexible and powerful.

Related recommendations: "SQL Tutorial"

The above is the detailed content of What is the command to modify the table structure in sql statement?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn