# Open proc (database)

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

### Format
> `Open(filename)`

### Args
> filename: The database filename to open

Opens a database file. If another database was already open, it is closed automatically. It is more common to simply open the database in New().

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