I have a view in Oracle that uses PIVOT
and I would like to apply it to an h2 database. However, Pivot is not yet supported in h2.
I am currently using CASE
statements to do the pivot which is fine for now.
However, I am intrigued by user defined functions in h2.
Is it possible to create a generic PIVOT
function in h2 by using user defined functions? Has anyone already done it?