CREATE DATABASE
Function
This statement creates a database using specified table attributes. If a table with the same name already exists in the database, an exception is thrown.
Syntax
CREATE DATABASE [IF NOT EXISTS] [catalog_name.]db_name [COMMENT database_comment] WITH (key1=val1, key2=val2, ...)
Description
IF NOT EXISTS
If the database already exists, no operation is performed.
WITH OPTIONS
Database attributes typically store additional information about the database.
The key and value of the key1=val1 expression are string literals.
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