Home > Common Problem > mysql modify data table name

mysql modify data table name

百草
Release: 2023-06-20 17:52:04
Original
3497 people have browsed it

mysql modify data table name

Modify the data table, including: modifying the table name, modifying the field name, modifying the data type of the field, etc. In MySQL, ALTER TABLE is used to modify the data table. Modify table name ALTER TABLE old table name RENAME [TO] new table name; illustrate Among them, TO is optional, you can have it or not.

First, check all tables in the database

mysql modify data table name

Modify the table name

mysql modify data table name

Check whether it has been modified success

mysql modify data table name

The above is the detailed content of mysql modify data table name. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template