# CLOSE
`CLOSE` closes a cursor.

> For the complete documentation index, see [llms.txt](https://preview.materialize.com/materialize/40269/llms.txt).


Use `CLOSE` to close a cursor previously opened with [`DECLARE`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/declare/index.md).

## Syntax

```mzsql
CLOSE <cursor_name>;
```

Syntax element | Description
---------------|------------
`<cursor_name>` | The name of an open cursor to close.
