Oracle SQL,PL/SQL

What is DML and DDL trigger in PL/SQL?

What is DML and DDL trigger in PL/SQL? | TechTweet
Avatar of shohal
Written by shohal

DML Trigger:

TRIGGERS are stored programs that are fired by Oracle engine automatically when DML Statements like insert, update, delete are executed on the table or some events occur. The code to be excecuted in case of a trigger can be defined as per the requirement.

DDL Trigger:

DDL triggers are the triggers which are created over DDL statements such as CREATE, DROP or ALTER.

Difference between DDL and DML in PL SQL:

DDLDML
Basic command present in DDL are CREATE, DROP, RENAME, ALTER etc.BASIC command present in DML are UPDATE, INSERT, MERGE etc.
DDL does not use WHERE clause in its statement.While DML uses WHERE clause in its statement.
It stands for Data Definition Language.It stands for Data Manipulation Language.
DDL does not use WHERE clause in its statement.While DML uses WHERE clause in its statement.

About the author

Avatar of shohal

shohal

I have profession and personal attachment with custom ERP Software development, Business Analysis, Project Management and Implementation almost (36) ,also Oracle Apex is my all-time favorite platform to developed the software. Moreover i have some website development experience with WordPress. For hand on networking experience DevOps and CCNA, it create me a full package. Here are some core programming language with networking course i have been worked: Oracle SQL ,PL/SQL,Oracle 19c Database , Oracle Apex 20.1,WordPress,Asp.Net ,MS SQL ,CCNA ,Dev Ops, SAP SD

Leave a Comment