Skip to main content
Outputs the DDL statement required to reconstruct the given table.
SHOW TABLE Syntax
The response to SHOW TABLE is a single-record result set with the DDL statement as the value in the DDL column, shown below with the column separators returned by kisql.

Parameters

CREATE

Optional keyword for clarity

TABLE

Optional clause to avoid ambiguity:
  • if given, and a view with the given name exists instead, the command will return an error
  • if omitted, and a view with the given name exists instead, the command will be interpreted as a SHOW VIEW statement

<schema name>

Name of the schema containing the table to show

<table name>

Name of the table whose DDL will be output

Examples

To output the DDL for the example table created in the CREATE TABLE section:
SHOW TABLE Example
SHOW TABLE Output