2013 Stack limit exceeded due to recursion

Advantage Error Guide

Problem: The runtime stack limit was reached during the processing of an SQL statement. The Advantage Database Server for Windows has a stack size of 1 MG. The Advantage Database Server for NetWare has a stack size of 64k.

Solution: If you encounter this error, reduce the complexity of the SQL statement.