EF Core 3.1 - Except - ORA-00907 exception

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
kakone
Posts: 12
Joined: Thu 09 Jan 2020 17:30

EF Core 3.1 - Except - ORA-00907 exception

Post by kakone » Tue 18 Feb 2020 16:27

Hello,

When I use the Except method, I get an ORA-00933 or ORA-00907 exception :

Code: Select all

var test = dbContext.ThirdParties.Except(dbContext.ThirdParties.Skip(5).Take(10)).FirstOrDefault();
The generated SQL contains the EXCEPT keyword (instead of MINUS in Oracle).

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: EF Core 3.1 - Except - ORA-00907 exception

Post by Shalex » Tue 25 Feb 2020 16:05

Thank you for your report. We have reproduced the bug and will notify you when it is fixed.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: EF Core 3.1 - Except - ORA-00907 exception

Post by Shalex » Sat 04 Apr 2020 12:27

The bug with generating EXCEPT instead of MINUS in SQL produced by EF Core 3.1 is fixed in v9.11.980: viewtopic.php?f=1&t=40466.

Post Reply