Execute SQL on CSV files via JDBC

前端 未结 7 1688
后悔当初
后悔当初 2020-12-28 19:46

I need to apply an SQL query to CSV files (comma-separated text files). My SQL is predefined from another tool, and is not eligible to change. It may contain embedded select

7条回答
  •  囚心锁ツ
    2020-12-28 20:05

    I'd say embedded db. I'd suggest either Javadb (Derby built into the Java API) or H2 if you don't care about pulling the extra dependency.

提交回复
热议问题