SQLite Forum

Fail to calculate long expression
Login
The error message is self-explanatory. So if you have to deal with such deeply nested expressions, you'll have to increase the following constants:

[SQLITE_LIMIT_EXPR_DEPTH](https://www.sqlite.org/capi3ref.html#sqlitelimitexprdepth)

[YYTRACKMAXSTACKDEPTH](https://www.sqlite.org/compile.html#yytrackmaxstackdepth)