Dear Experts,
how to write a cursor in trigger for update table
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
Priyanka JainRank #356 · 7K reputationPosted Sep 26, 2019, 10:36 PM EDT
Dipa MehtaRank #361 · 6.9K reputationPosted Nov 17, 2019, 7:00 AM EST
Sagar LadRank #523 · 4.7K reputationPosted Aug 26, 2021, 3:28 PM EDT
Hi yesubabu,
A cursor can be created within a trigger by writing the declare statement inside the trigger. A trigger cannot be created within a cursor. 3. It gets created in response to execution of SQL statement thus it is not previously stored.