> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# DROP CATALOG

> DROP CATALOG deletes an external catalog.

DROP CATALOG deletes an external catalog. The internal catalog cannot be deleted. A StarRocks cluster has only one internal catalog named `default_catalog`.

## Syntax

```SQL theme={null}
DROP CATALOG [IF EXISTS] <catalog_name>
```

## Parameters

`catalog_name`: The name of an external catalog.

## Examples

Create a Hive catalog named `hive1`.

```SQL theme={null}
CREATE EXTERNAL CATALOG hive1
PROPERTIES(
  "type"="hive", 
  "hive.metastore.uris"="thrift://xx.xx.xx.xx:9083"
);
```

Delete the Hive catalog.

```SQL theme={null}
DROP CATALOG hive1;
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.