Description
The SHOW CREATE TABLE
command is used to obtain the creation statement of a specified table, materialized view, or view. Therefore, this article uses SHOW CREATE TABLE to view the dynamic table creation statement.
Syntax
Parameter Description
object_name
: Specifies the name of the database object to query. This can be a table, materialized view, or view.
Example
- View the creation statement of a dynamic table
If you want to view the creation statement of a dynamic table named change_table
, you can use the following command:
The system will return output similar to the following: