Rechercher dans le manuel MySQL
13.7.6.37 SHOW TABLES Syntax
SHOW TABLES
lists the
non-TEMPORARY
tables in a given database. You
can also get this list using the mysqlshow
db_name
command. The
LIKE
clause, if present, indicates
which table names to match. The WHERE
clause
can be given to select rows using more general conditions, as
discussed in Section 25.42, “Extensions to SHOW Statements”.
Matching performed by the LIKE
clause is
dependent on the setting of the
lower_case_table_names
system
variable.
The optional EXTENDED
modifier causes
SHOW TABLES
to list hidden tables
created by failed ALTER TABLE
statements. These temporary tables have names beginning with
#sql
and can be dropped using
DROP TABLE
.
This statement also lists any views in the database. The
optional FULL
modifier causes
SHOW TABLES
to display a second
output column with values of BASE TABLE
for a
table, VIEW
for a view, or SYSTEM
VIEW
for an INFORMATION_SCHEMA
table.
If you have no privileges for a base table or view, it does not
show up in the output from SHOW
TABLES
or mysqlshow db_name.
Table information is also available from the
INFORMATION_SCHEMA
TABLES
table. See
Section 25.30, “The INFORMATION_SCHEMA TABLES Table”.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-show-tables.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.