Question Lucas Fernandes · Nov 27, 2019 Recursion with SQL #SQL #Caché Does Caché have any features similar to PostgreSQL 'WITH RECURSIVE'? Something that allows recursion in SQL.
Evgeny Shvarov · Nov 29, 2019 Hi Lucas! I hope you can manage this with custom class queries enveloping this into a stored procedure. Learn more here @Benjamin De Boe , @Wolf Koelling, @Eduard Lebedyuk any hint?
Benjamin De Boe Nov 29, 2019 to Evgeny Shvarov No, we indeed don't support that syntax feature. Like Evgeny said, this recursion is something we'd typically try to wrap inside ObjectScript methods, which you could then expose as a stored procedure.
Lucas Fernandes Nov 29, 2019 to Benjamin De Boe Thank you Evgeny and Benjamin for answering. I used the method store procedure to solve this recursion problem.
Hi Lucas!
I hope you can manage this with custom class queries enveloping this into a stored procedure.
Learn more here
@Benjamin De Boe , @Wolf Koelling, @Eduard Lebedyuk any hint?
No, we indeed don't support that syntax feature. Like Evgeny said, this recursion is something we'd typically try to wrap inside ObjectScript methods, which you could then expose as a stored procedure.
Thank you Evgeny and Benjamin for answering.
I used the method store procedure to solve this recursion problem.