Reputation: 239
i want to create procedure with BL in its body. i find the same example in SQL but not in postgresql.
Upvotes: 19
Views: 7439
Reputation: 713
Every RDBMS have their own SQL language. You can't create trigger in PostgreSQL as you can create in Oracle/MS SQL etc. In order to create trigger in PostgreSQL you have to
Upvotes: 21
Reputation: 45940
It is not possible - PostgreSQL doesn't support SQL triggers - every trigger needs a related trigger function. Other databases supports SQL triggers only, but not PostgreSQL.
Upvotes: 7