# Collect JDBC Results

**URL:** <https://discourse.julialang.org/t/collect-jdbc-results/22927>\
**Category:** General Usage\
**Created:** [April 8, 2019, 4:06pm UTC](https://discourse.julialang.org/t/collect-jdbc-results/22927 "2019-04-08T16:06:42Z")\
**Posts on this page:** 1\
**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:** [April 8, 2019, 4:06pm UTC](https://discourse.julialang.org/t/collect-jdbc-results/22927/1 "2019-04-08T16:06:42Z")

</div>

I am trying to extract data from an Oracle JDBC connection. I have successfully connected and can put the data out and see it in the REPL. However I want to collect the println results of the iterator in an object. How do I go about collecting the results? I have created an empty tuple and tried to append/push the results in the tuple without success.

\<`>`

`
oracle_statement = createStatement(oracle_connection) # Specify SQL Connection
oracle_query = executeQuery(oracle_statement, "SQL Statement ") # Specify SQL Query
for rows in JDBCRowIterator(oracle_query)
println(rows)
end`
