Unfindable SQLite Syntax Error

Transaction is one of the reserved names in SQLite. For a full list see here.

Ways to solve this issue are:

  • Change the Table name to a word that isn’t reserved.

or

  • Quote the reserved name by using one of these 4 listed quote marks
    • ‘keyword’
    • “keyword”
    • `keyword`

Leave a Comment