MarkMpn / Sql4Cds

SQL 4 CDS core engine and XrmToolbox tool
MIT License
74 stars 22 forks source link

【Bug?】KeyNotFoundException #449

Closed hiroyuki0415 closed 4 months ago

hiroyuki0415 commented 5 months ago
SELECT *
FROM   (SELECT NULL AS value,
               a.attributetypename
        FROM   metadata.attribute AS a
        UNION ALL
        SELECT a.logicalname AS value,
               a.attributetypename
        FROM   metadata.attribute AS a) AS sub
WHERE  sub.attributetypename NOT IN ('StringType');

When I run this SQL I get the following error: System.Collections.Generic.KeyNotFoundException: The specified key does not exist within the directory

MarkMpn commented 4 months ago

This should be fixed in v9, please re-open if you still get the error