# DBInterface specify types?

**URL:** https://discourse.julialang.org/t/dbinterface-specify-types/69956
**Category:** General Usage
**Tags:** database
**Created:** [October 18, 2021, 2:21am UTC](https://discourse.julialang.org/t/dbinterface-specify-types/69956 "2021-10-18T02:21:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Lincoln\_Hannah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lincoln_hannah/32/19198_2.png) [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)
#### Post date: [October 18, 2021, 2:21am UTC](https://discourse.julialang.org/t/dbinterface-specify-types/69956/1 "2021-10-18T02:21:36Z")

</div>

Is there an equivalent of CSV.read types=  
e.g.

`DBInterface.execute( "select statement", types = Dict( Col1 => Date, ... ) ) `

Querying SQL server, DateTime comes through ok, but Date becames a string
