Syntax
Parameters
| Parameter or clause | Description |
|---|---|
| database_name | The name of the database to be created. |
| IF NOT EXISTS clause | Creates a database if the database name has not already been used. Otherwise throws an error. |
| owner [=] user_name clause | Specifies which user owns the database to be created. |
| resource_group [=] resource_group_name clause | Assigns the database to a specific resource group. If not set, the database belongs to the default resource group. |
PUBLIC PREVIEWResource groups is currently in public preview, meaning it is nearing the final product but may not yet be fully stable. If you encounter any issues or have feedback, please reach out to us via our Slack channel. Your input is valuable in helping us improve this feature. For more details, see our Public Preview Feature List.
Example
Names and unquoted identifiers are case-insensitive. Therefore, you must double-quote any of these fields for them to be case-sensitive. See also Identifiers.