Created
August 6, 2013 13:38
-
-
Save randyzwitch/6164489 to your computer and use it in GitHub Desktop.
Julia ODBC results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> using ODBC | |
julia> ODBC.connect("MySQL") | |
Connection 1 to MySQL successful. | |
#Save query results into a DataFrame called 'results' | |
julia> results = query("Select * from a1987;"); | |
julia> typeof(results) | |
DataFrame (use methods(DataFrame) to see constructors) | |
#Save query results to a file, tab-delimited (default) | |
julia> query("Select * from a1987;", file="output.tab", delim = '\t'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment