# Empty JuliaDB

**URL:** https://discourse.julialang.org/t/empty-juliadb/33450
**Category:** New to Julia
**Tags:** juliadb
**Created:** [January 16, 2020, 6:55pm UTC](https://discourse.julialang.org/t/empty-juliadb/33450 "2020-01-16T18:55:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alphasig329](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alphasig329/32/9794_2.png) [@alphasig329](https://discourse.julialang.org/u/alphasig329)
#### Post date: [January 16, 2020, 6:55pm UTC](https://discourse.julialang.org/t/empty-juliadb/33450/1 "2020-01-16T18:55:07Z")

</div>

Is it possible to initialize an empty JuliaDB table with columns names?

---

<div class="post-metadata">

### Author: ![Poncho](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/poncho/32/12340_2.png) [@Poncho](https://discourse.julialang.org/u/Poncho)
#### Post date: [January 16, 2020, 10:57pm UTC](https://discourse.julialang.org/t/empty-juliadb/33450/2 "2020-01-16T22:57:19Z")

</div>

Yes, it is possible.  
This is the source where you can learn it from direct experience ([JuliaDB.jl/basics.md at master · JuliaData/JuliaDB.jl · GitHub](https://github.com/JuliaComputing/JuliaDB.jl/blob/master/docs/src/basics.md)) and this is an example of code to instantiate it, once you already added the package:

```julia
using	JuliaDB
dblog =	table((ObjectID=Int[], Iteration=Int[], Events=[], States=Matrix{Float64}[]); pkey = [:ObjectID, :Iter])

```

The code it’s just an example, and you should be able to replicate it. In this case, it’s an IndexedTable with 2 primary keys, specified by the ‘pkey’ attribute.  
Ánimo con el trabajo!
