I did not find a SQL statenment IF
in SQLite and the closest was CASE
, which is answering me, however I would like to suspend a trigger with a conditional and I believe it can only be done with IF
/ p>
CREATE TRIGGER...
BEGIN
IF (SELECT COUNT(*) FROM DATA < 900) THEN
SUSPEND;
...
END;
Is it possible to do something like this in SQLite?