Live data from Hacker News

Q – Run SQL Directly on CSV or TSV Files

github.com

1–10 of 10 posts

Re: Q – Run SQL Directly on CSV or TSV Files

#7
If you want to just drop CSV files into MySQL, go for it with using the CSV file backing: http://dev.mysql.com/doc/refman/5.0/en/csv-storage-engine.ht...

As the comments say, create the table with a CSV storage backing and then delete the file and symlink any file to the same location. You are now querying your quicken export or your excel file.

Re: Q – Run SQL Directly on CSV or TSV Files

#8
On Windoze, ADO lets you use SQL directly on any data source for many years now, including CSV, TSV, Exchange Microsoft, and many more.

Here's a sample how this can be done: http://fdik.org/ado.zip

Such database middleware is missing on many other platforms. Could be an option to think about it.

Re: Q – Run SQL Directly on CSV or TSV Files

#9
post #8

On Windoze, ADO lets you use SQL directly on any data source for many years now, including CSV, TSV, Exchange Microsoft, and many more. Here's a sample how this can be done: http://fdik.org/ado.zip Such database middleware is missing on many other platforms. Could be an option to think about it.

Postgres can do it. https://wiki.postgresql.org/wiki/Foreign_data_wrappers