I am working on data (data from tables only) conversion from MSSQL database to H2 database. Data model is the same except maybe a few minor changes.
My first idea was to export data from tables as INSERT INTO statements (like here), and run these after some adjustments on the H2 database. But I ran into a problem with datetime, MSSQL exported this as a number casted like datetime:
CAST(0x000092AC00000000 AS DateTime)
And H2 doesn't seem to understand this. Is there a way to make this solution work (force SSMS to export the datetime a different way so H2 can read it)? I am using SSMS 2008 R2. I'm also open to other suggestions to solve this problem.