Monday, 31 October 2022

Create/ Drop Triggers in Postgresql

SELECT 

    * 

FROM 

    information_schema.triggers

WHERE 

    trigger_schema = 'abc' 




SELECT 

    CONCAT('DROP TRIGGER IF EXISTS ',trigger_name,' ON ',trigger_schema,'.',event_object_table,';') AS sql

FROM 

    information_schema.triggers

WHERE 

    trigger_schema = 'abc' 

No comments:

Kiro - Core Features

What is Kiro Kiro is an innovative AI-powered IDE that revolutionizes software development through intelligent assistance and structured wor...