Before you can remove a database, you must use DROP SCHEMA to remove all its dependent schemas.Documentation Index
Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Parameters
| Parameter or clause | Description |
|---|---|
| IF EXISTS clause | Do not return an error if the specified database does not exist. |
| database_name | The name of the database you want to remove. You can use SHOW DATABASES to get a list of all available databases. |
Examples
This statement removes therw_db database which contains two schemas, rw_schema and public (default schema):