Skip to content

Date format DD-MMM-YYYY not accepted #657

Description

@harjitsamra

The date format DD-MMM-YYYY isn't accepted, and raises an error 'Conversion failed when converting date and/or time from character string'.
A date in the format DD-MM-YYYY is accepted.

The date format DD-MMM-YYYY worked previously, and has stopped working in a recent update (I think in the last 2-3 months)

Are you aware of this? Is it by design?

EXAMPLE
Doesn't work
select top 50 * from contract where createdon > '01-JAN-2025'

Does work
select top 50 * from contract where createdon > '01-01-2025'

Version
Microsoft Dataverse - 9.2.25032.214
SQL 4 CDS - 9.6.0.0
Mar 04 2025 15:00:01
Copyright © 2020 - 2024 Mark Carrington

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions