# SurrealDB - REMOVE NAMESPACE

* [Bug: Server panic when trying to remove namespace](https://github.com/surrealdb/surrealdb/issues/3903)
* [Bug: InvalidQuery RenderedError for "REMOVE NAMESPACE IF EXISTS surrealdb"](https://github.com/surrealdb/surrealdb/issues/3904)

{% embed include file="src/examples/surrealdb/remove-namespace/Cargo.toml" %}
{% embed include file="src/examples/surrealdb/remove-namespace/src/main.rs" %}
{% embed include file="src/examples/surrealdb/remove-namespace/out.out" %}


