On 2019-06-16 6:11 a.m., Adrian Ho wrote:
From https://sqlite.org/lang_createtrigger.html :
*Syntax Restrictions On UPDATE, DELETE, and INSERT Statements Within
Triggers*
[...]
* Common table expression are not supported for statements inside of
triggers.
I wonder what the reason fo
On 16-6-2019 15:11, Adrian Ho wrote:
> Common table expression are not supported for statements inside of
> triggers.
Ah, I searched the docs for 'upsert', 'with' ...
Thanks.
ingo
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
On 16/6/19 8:37 PM, ingo wrote:
> Upon creation, the trigger below gives a syntax error near INSERT.
> Without the trigger surrounding it, the query works well.
> The docs give me no clue to what goes wrong.
From https://sqlite.org/lang_createtrigger.html :
*Syntax Restrictions On UPDATE, DELETE,
Upon creation, the trigger below gives a syntax error near INSERT.
Without the trigger surrounding it, the query works well.
The docs give me no clue to what goes wrong.
Ingo
---%<--%<--%<---
CREATE TRIGGER IF NOT EXISTS update_balances
AFTER INSERT ON journal
BEGIN
WITH inup(account_id,
4 matches
Mail list logo