Viewing a Specified Database
Function
This syntax is used to view the information about a specified database, including the database name and database description.
Syntax
1
|
DESCRIBE DATABASE [EXTENDED] db_name; |
Keyword
EXTENDED: Displays the database properties.
Parameters
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 (_). |
Precautions
If the database to be viewed does not exist, the system reports an error.
Example
- Create a database, for example, testdb, by referring to Example.
- Run the following statement to query information about the testdb database:
1
DESCRIBE DATABASE testdb;
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot