Skip to content

H2 YEAR function not supported #652

Open
@rwindegger

Description

Failing ANSI SQL

SELECT YEAR(PAYMENTARRIVETIME) AS YEAR, MONTH(PAYMENTARRIVETIME) AS MONTH, SUM(CAST(QUANTITY AS INT)) AS QUANTITY, SUM(CAST(YOURNETPROFIT AS DECIMAL(10,3))) AS YOURNETPROFIT FROM import
GROUP BY YEAR(PAYMENTARRIVETIME), MONTH(PAYMENTARRIVETIME)
ORDER BY YEAR(PAYMENTARRIVETIME), MONTH(PAYMENTARRIVETIME);

Description

The YEAR function is not recognized

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions