Can CSVREAD use direct data as argument?

20 views
Skip to first unread message

George Ivanov

unread,
Sep 18, 2019, 5:59:54 AM9/18/19
to H2 Database
Hi All,

is there a way to feed CSV string data to CSVREAD function directly (i.e. without using any files)?

George

Evgenij Ryazanov

unread,
Sep 18, 2019, 7:03:37 AM9/18/19
to H2 Database
That's not supported.

You can create an own user-defined function and use Csv.read(Reader, String[]) in it as a workaround, but if you'll do so, you will need to check compatibility of your code with next versions of H2 before an upgrade.
Reply all
Reply to author
Forward
0 new messages