Search
 
SCRIPT & CODE EXAMPLE
 

SQL

postgres list all triggers

select event_object_schema as table_schema,
       event_object_table as table_name,
       trigger_schema,
       trigger_name,
       string_agg(event_manipulation, ',') as event,
       action_timing as activation,
       action_condition as condition,
       action_statement as definition
from information_schema.triggers
group by 1,2,3,4,6,7,8
order by table_schema,
         table_name;
Comment

PREVIOUS NEXT
Code Example
Sql :: sql date diff 
Sql :: postgresql create query 
Sql :: sqlalchemy join on column 
Sql :: postgresql casting integer to string 
Sql :: declare variables sql 
Sql :: sql manhattan distance 
Sql :: alter column to null 
Sql :: oracle apex debug mode 
Sql :: oracle create table if not exists 
Sql :: mysql create view full table 
Sql :: sql declare table variable 
Sql :: alter table id autoincrement 
Sql :: mysql select update same table 
Sql :: delete row psql 
Sql :: how to get the date from datetime in mysql 
Sql :: sql percentage with % rounded down 
Sql :: sql views 
Sql :: sql date format 
Sql :: postgre describe table 
Sql :: postgresql connection string c# 
Sql :: sql check duplicate value in column 
Sql :: duplicate entry 
Sql :: sp in sql server 
Sql :: how to count null values in sql 
Sql :: oracle temporary table 
Sql :: sql server insert into table 
Sql :: mysql permissions 
Sql :: mysql remove first and last character from string 
Sql :: psql execute sql file 
Sql :: reindexing all tables sql server 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =