Instead of Triggers in SQLite
I want to use Triggers in views. How can I do that with Instead of Trigger
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Nov 4, 2011, 7:36 AM EDT
CREATE TRIGGER MyViewTrig_On_insert INSTEAD OF INSERT ON MyViewName
BEGIN
INSERT INTO tempdata (id , morecolumns) VALUES (new.id, new.morecolumns);
END;