This syntax is used to view the information about a specified database, including the database name and database description.
1 | DESCRIBE DATABASE [EXTENDED] db_name; |
EXTENDED: Displays the database properties.
Parameter |
Description |
---|---|
db_name |
Database name, which consists of letters, digits, and underscores (_). The value cannot contain only digits or start with a digit or underscore (_). |
If the database to be viewed does not exist, the system reports an error.
1 | DESCRIBE DATABASE testdb; |