Examine this code CREATE OR REPLACE TRIGGER SECURE_emp BEFORE LOGON ON EMP BEGIN ............. END WHAT TYPE OF TRIGGER IS IT ?

  1. DML trigger

  2. Invalid Trigger

  3. Application Trigger

  4. System Event trigger


Correct Option: B

AI Explanation

To determine the type of trigger in the given code, let's examine the options:

A. DML trigger - DML triggers are used to execute specific actions before or after data manipulation language (DML) statements, such as INSERT, UPDATE, or DELETE. However, the code provided does not specify any DML statements, so this option is incorrect.

B. Invalid Trigger - This option is correct. The code is incomplete and does not contain any specific logic or actions inside the trigger. Therefore, it is an invalid trigger.

C. Application Trigger - Application triggers are custom triggers that are specifically designed for a particular application. The given code does not provide any information suggesting that it is an application trigger, so this option is incorrect.

D. System Event Trigger - System event triggers are triggered by system-level events, such as system startup or shutdown. The given code does not specify any system events, so this option is incorrect.

Therefore, the correct answer is B. Invalid Trigger. The code provided is incomplete and does not contain any specific logic or actions inside the trigger.

Find more quizzes: