English 中文(简体)
H2 Database - Show
  • 时间:2024-10-18

H2 Database - Show


Previous Page Next Page  

SHOW is a command used to display the pst of Schemas, Tables, or Columns of the table.

Syntax

Following is the generic syntax of the SHOW command.

SHOW { SCHEMAS | TABLES [ FROM schemaName ] | 
COLUMNS FROM tableName [ FROM schemaName ] } 

Example

The following command can be used to get the pst of tables in the current database.

SHOW TABLES; 

The above command produces the following output.

TABLE_NAME TABLE_SCHEMA
CUSTOMER PUBLIC
EMP PUBLIC
Advertisements