Hi all, I use many triggers and for debugging purposes I wanted to know which one is triggered and when. At first I thought that if I write a SELECT within the BEGIN-END block, this SELECT results will be printed (at least when using sqlite3 command line program). But this didn't work. So I wrote a simple print method that takes one argument and printf it to the standard out. This works and actually solves my problem. I can write something like: create trigger bla after delete on foo begin select print('bla trigger is triggered'); .... end;
But I still wonder - this solution is quite simple, yet very useful - so I suspect I missed an existing feature. Is there a builtin feature like this? Thanks, Ran.