Skip to main content

SHOW DATABASE ID

Description​

This statement is used to find the corresponding database name according to the database id (only for administrators)

grammar:

SHOW DATABASE [database_id]

Example​

  1. Find the corresponding database name according to the database id

    SHOW DATABASE 1001;

Keywords​

SHOW, DATABASE, ID