Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8632249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:19:33+00:00 2026-06-12T09:19:33+00:00

I need to increase the max depth of recursion triggers in SQLite. I know

  • 0

I need to increase the max depth of recursion triggers in SQLite.
I know I need to set the SQLITE_MAX_TRIGGER_DEPTH to the value I want, but I can’t find a way to do this.

I tried PRAGMA SQLITE_MAX_TRIGGER_DEPTH = X and it served no good.

Any idea on how to set this variable?
Thanks!

Quoting the SQLite documentation:

SQLite limits the depth of recursion of triggers in order to prevent a statement involving
recursive triggers from using an unbounded amount of memory.

Prior to SQLite version 3.6.18, triggers were not recursive and so this limit was meaningless. Beginning with version 3.6.18, recursive triggers were supported but had to be explicitly enabled using the PRAGMA recursive_triggers statement. Beginning with version 3.7.0, recursive triggers are enabled by default but can be manually disabled using PRAGMA recursive_triggers. The SQLITE_MAX_TRIGGER_DEPTH is only meaningful if recursive triggers are enabled.

The default maximum trigger recursion depth is 1000.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T09:19:34+00:00Added an answer on June 12, 2026 at 9:19 am

    The PRAGMA recursive_triggers is only for enabling recursive triggers.

    The SQLITE_MAX_TRIGGER_DEPTH parameter is a C preprocessor symbol that must be set when compiling SQLite itself; increasing it is not possible at runtime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to slow down ViewPager, and I want increase MIN_DISTANCE_FOR_FLING. How can I
I need to increase the size of a textbox upwards, upon hover. i want
I need a priority queue where I can increase or decrease the priority key.
What I need is 'data-cost': <input type=radio class=selection data-cost=0 value=One name=f_1/> To increase depending
Does anyone know if or how you can increase the import size limit in
I need to increase the max username size in auth to exceed the 30
I am making a Chrome extension and I need to increase the max width
So, I need to increase / decrease by 10% the value of codes 1,
I need to increase the performance of a compact framework application which uses a
We need to increase our knowledge on deployment of ASP.NET Web sites/Web App. We

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.