Skip to main content
Community site session details

Community site session details

Session Id :

Complex x++ to AOT queries using Ranges.

Amir Nazim Profile Picture Amir Nazim 5,994

Recently I came to know that we can make some complex queries in the AOT as well by adding the ranges.

For example

SELECT * FROM EmployeePosition

JOIN * FROM PositionDetailTable

WHERE EmployeePosition.ValidFrom <= PositionDetailTable.ValidFrom

&& EmployeePosition.ValidTo <= PositionDetailTable.ValidTo

Attached is the sample AOT query that will produce the same result. you need to download and remove the .doc extension from the file.

PrivateProject_QueryView.xpo



This was originally posted here.

Comments

*This post is locked for comments