This article mainly introduces the method of modifying the table structure in mysql, and analyzes in detail the methods and precautions for modifying the table structure in mysql in the form of instances, which has some reference value, for more
DDL statement -- modify a table
Modifying a table is to modify the definition of an existing table in the database. It is simple to modify a table because it does not need to reload data or affect ongoing services.
MySQL uses the alter table
Mysql 3-view table structure, modify and delete data tables bitsCN. comMysql 3-view table structure, modify and delete data tables view table structure
You can use DESCRIBE or show create table statements to view the TABLE structure. 1. view the
In practice, we sometimes encounter deletion and modification of database tables and databases. The following articles provide solutions to this problem, that is, use the MySQL command to correctly modify some tables and modify the table structure.
Document directory
MySQL table replication
MySQL table modification
Delete a MySQL table
I didn't want to write this section, because it was very troublesome. There were many examples, which were representative, and I knew everyone was bored.
MySQL table sharding Methods: MySQL
I. Let me explain why Table sharding is required.
When a piece of data reaches several millions, it takes more time for you to query the data at a time. If there is a joint query, I think it may die there. The
This article describes the MySQL modified table structure method. Share to everyone for your reference. Specifically as follows:
MySQL Modify table structure using the ALTER TABLE statement, the following is a detailed description of the MySQL
MySQL data import and export:Import:Save the contents of the system file to the table in the databaseBasic format for importing data:mysql> load Data infile "file name" into table name fields terminated by ' delimiter ' lines terminated by ' \ n
MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
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.