# Close proc (database)

Source: https://ref.dm-lang.org/database/proc/Close
Added in BYOND 506.

### Format
> `Close()`

If a database is currently open, this will close the database and any queries currently running in it. Usually you don't need to call this directly, because deleting the datum will do it for you.

### See also
- [database datum](https://ref.dm-lang.org/database/index.md)
- [Open proc (database)](https://ref.dm-lang.org/database/proc/Open.md)
