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

# DROP PIPE

> DROP PIPE drops a pipe and the related jobs and metadata.

DROP PIPE drops a pipe and the related jobs and metadata. Executing this statement on a pipe does not revoke the data that has been loaded via this pipe. This command is supported from v3.2 onwards.

## Syntax

```SQL theme={null}
DROP PIPE [IF EXISTS] [db_name.]<pipe_name>
```

## Parameters

### db\_name

The name of the database to which the pipe belongs.

### pipe\_name

The name of the pipe.

## Examples

Drop the pipe named `user_behavior_replica` in the database named `mydatabase`:

```SQL theme={null}
USE mydatabase;
DROP PIPE user_behavior_replica;
```

## References

* [CREATE PIPE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/CREATE_PIPE.md)
* [ALTER PIPE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/ALTER_PIPE.md)
* [SHOW PIPES](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/SHOW_PIPES.md)
* [SUSPEND or RESUME PIPE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/SUSPEND_or_RESUME_PIPE.md)
* [RETRY FILE](/documents/4.2/sql-reference/sql-statements/loading_unloading/pipe/RETRY_FILE.md)


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