SQLite Forum

According to the syntax diagram for CREATE TRIGGER, SAVEPOINT is not a supported statement.

You can make a trigger execute conditionally with the **WHEN expr** syntax.

Also, **RAISE()** can influence the result of the statement that caused the trigger to fire.

By the way, your code example does not represent a trigger definition, and it is unclear what problem you experience.