Skip to content

[BUG] - Null reference exception #676

Description

@sybaris

Describe the bug
The following query return a null reference exception

To Reproduce
Query to reproduce the behavior:

SELECT statecode
FROM (
    SELECT TOP 10 *
    FROM incident
) AS SubQuery
GROUP BY statecode

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Image

Environment (please complete the following information):

  • SQL 4 CDS edition: XrmToolBox,
  • Results of SELECT @@VERSION:
    Microsoft Dataverse - 9.2.25041.256
    SQL 4 CDS - 9.6.1.0
    mai 05 2025 10:06:05
    Copyright © 2020 - 2025 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