I encountered this issue in BPT, is there a way to increase the maximum recursion value to 1000?
Regards,
Marvei
100 is the default MAXRECURSION param at SQL.
Try using OPTION (MAXRECURSION 1000) in your SQL statement
Thank you @Volodymyr Tkachenko , how can you implement it on an aggregate?
oh, it seems that the issue is not in the SQL then.
I think that the process is entering an infinite loop because of the business logic you implemented. Can you share the screenshot of the code?