Hi @dplaut, To save the output of the SHOW TABLE EXTENDED command to a table, you can follow these steps:
First, execute the SHOW TABLE EXTENDED command with the desired regular expression pattern. This command provides detailed information about tables matching the given pattern, including basic table information, file system details, and more.
For example:
- SHOW TABLE EXTENDED LIKE โ'mysearchtext*';
Examine the output to ensure it contains the relevant details you want to save.
Create a new table where you'll store this information. You can use the CREATE TABLE statement to define the schema of your new table. Adjust the column names and data types as needed.
Insert the output of the SHOW TABLE EXTENDED command into your newly created table. You can do this using an INSERT INTO statement. Make sure to specify the appropriate column names and values from the output.