I am curious about it.Shalex wrote:We are investigating the issue. We will notify you about the results as soon as possible.
Regards from Berlin
I have the same problem I tried to solve the way you recommend.AndreyR wrote:We recommend you to create an EntitySQL query where the WHERE clause contains a condition:Code: Select all
where property IN ({first thousand from array}) AND property IN ({second thousand from array})...
Using an Oracle function works great. Thanks for your supportAndreyR wrote: Add this function to the Devart Entity model. There will be an error about the composable functions, that is correct. Now you have a stored function available in SSDL.
At this point you can use this function in a query like in the following example:
Code: Select all
SELECT E.ID, E.FIRSTNAME, E.SURNAME, Ed.ENTRYDATE, Ed.Department.DeptName FROM EmplDeparts as Ed,
Employees as E, Departments as D WHERE Ed.EmplID=E.ID AND Ed.Entrydate in
(select value min(Em.Entrydate) FROM EmplDeparts as Em WHERE Em.EmplID=E.ID)
It was just a hypothetical database. My database is much more complex.AndreyR wrote:Could you please provide a DDL script of your db objects?
Hallo AndreyR,AndreyR wrote:Here is the code:Code: Select all
SELECT E.SurName, E.FirstName, E.Department.DeptName, MIN(SELECT VALUE ED.EntryDate FROM Empldeparts AS ED WHERE ED.EmplID=E.ID) FROM Employees AS E