CBSE Class 12 Informatics Practices Triggers Notes

Download the latest CBSE Class 12 Informatics Practices Triggers Notes in PDF format. These Class 12 Informatics Practices revision notes are carefully designed by expert teachers to align with the 2025-26 syllabus. These notes are great daily learning and last minute exam preparation and they simplify complex topics and highlight important definitions for Class 12 students.

Chapter-wise Revision Notes for Class 12 Informatics Practices Triggers

To secure a higher rank, students should use these Class 12 Informatics Practices Triggers notes for quick learning of important concepts. These exam-oriented summaries focus on difficult topics and high-weightage sections helpful in school tests and final examinations.

Triggers Revision Notes for Class 12 Informatics Practices

,sans-serif;">syntax :

ALTER TRIGGER trigger_name DISABLE;

For example:

ALTER TRIGGER orders_before_insert DISABLE;

Drop a Trigger

syntax :

DROP TRIGGER trigger_name;

For example:

DROP TRIGGER orders_before_insert;

Example:

create or replace trigger check_budget_EMP

after insert or update of SAL, DEPTNO on EMP

declare

cursor DEPT_CUR is select DEPTNO, BUDGET from DEPT;

DNO DEPT.DEPTNO%TYPE;

ALLSAL DEPT.BUDGET%TYPE;

DEPT_SAL number;

begin

open DEPT_CUR;

loop

fetch DEPT_CUR into DNO, ALLSAL;

exit when DEPT_CUR%NOTFOUND;

select sum(SAL) into DEPT_SAL from EMP where DEPTNO = DNO;

if DEPT_SAL > ALLSAL then

raise_application_error(-20325, 'Total of salaries in the department '|| to_char(DNO) || ' exceeds

budget');

end if;

end loop;

close DEPT_CUR;

end; /

More about triggers :

Triggers are not exclusively used for integrity maintenance. They can also be used for

• Monitoring purposes, such as the monitoring of user accesses and modifications on certain sensitive

tables.

• Logging actions, e.g., on tables: Contd..

create trigger LOG EMP

after insert or update or delete on EMP

begin

if inserting then

insert into EMP LOG values(user, ’INSERT’, sysdate); end if ;

if updating then

insert into EMP LOG values(user, ’UPDATE’, sysdate); end if ;

if deleting then

insert into EMP LOG values(user, ’DELETE’, sysdate); end if ;

end;

By using a row trigger, even the attribute values of the modified tuples can be stored in the table EMP LOG.

• automatic propagation of modifications. For example, if a manager is transferred to another department, a trigger can be defined that automatically transfers the manager’s employees to the new department.

More about Triggers

If a trigger is specified within the SQL*Plus shell, the definition must end with a point “.” in the last line. Issuing the command run causes SQL*Plus to compile this trigger definition.

A trigger definition can be loaded from a file using the command @. Note that the last line in the file must consist of a slash “/”.

A trigger definition cannot be changed, it can only be re-created using the or replace clause.

The command drop deletes a trigger.

After a trigger definition has been successfully compiled, the trigger automatically is enabled.

The command alter trigger disable is used to deactivate a trigger. All

triggers defined on a table can be (de)activated using the command

alter table enable | disable all trigger;

The data dictionary stores information about triggers in the table USER TRIGGERS. The information includes the trigger name, type, table, and the code for the PL/SQL block.

Difference b/w For and Do Loops: When No. of repetitions are known then For loop is used, and if the No. of iterations are unknown then do loops are used.

Please click the link below to download pdf file for CBSE Class 12 Informatics Practices Triggers Study Notes

CBSE Class 12 Informatics Practices Triggers Notes

Students can use these Revision Notes for Triggers to quickly understand all the main concepts. This study material has been prepared as per the latest CBSE syllabus for Class 12. Our teachers always suggest that Class 12 students read these notes regularly as they are focused on the most important topics that usually appear in school tests and final exams.

NCERT Based Triggers Summary

Our expert team has used the official NCERT book for Class 12 Informatics Practices to design these notes. These are the notes that definitely you for your current academic year. After reading the chapter summary, you should also refer to our NCERT solutions for Class 12. Always compare your understanding with our teacher prepared answers as they will help you build a very strong base in Informatics Practices.

Triggers Complete Revision and Practice

To prepare very well for y our exams, students should also solve the MCQ questions and practice worksheets provided on this page. These extra solved questions will help you to check if you have understood all the concepts of Triggers. All study material on studiestoday.com is free and updated according to the latest Informatics Practices exam patterns. Using these revision notes daily will help you feel more confident and get better marks in your exams.

Where can I download the latest PDF for CBSE Class 12 Informatics Practices Triggers Notes?

You can download the teacher prepared revision notes for CBSE Class 12 Informatics Practices Triggers Notes from StudiesToday.com. These notes are designed as per 2025-26 academic session to help Class 12 students get the best study material for Informatics Practices.

Are these Informatics Practices notes for Class 12 based on the 2026 board exam pattern?

Yes, our CBSE Class 12 Informatics Practices Triggers Notes include 50% competency-based questions with focus on core logic, keyword definitions, and the practical application of Informatics Practices principles which is important for getting more marks in 2026 CBSE exams.

Do these Class 12 notes cover all topic-wise concepts for Informatics Practices?

Yes, our CBSE Class 12 Informatics Practices Triggers Notes provide a detailed, topic wise breakdown of the chapter. Fundamental definitions, complex numerical formulas and all topics of CBSE syllabus in Class 12 is covered.

How can I use CBSE Class 12 Informatics Practices Triggers Notes for quick last-minute revision?

These notes for Informatics Practices are organized into bullet points and easy-to-read charts. By using CBSE Class 12 Informatics Practices Triggers Notes, Class 12 students fast revise formulas, key definitions before the exams.

Is there any registration required to download Class 12 Informatics Practices notes?

No, all study resources on StudiesToday, including CBSE Class 12 Informatics Practices Triggers Notes, are available for immediate free download. Class 12 Informatics Practices study material is available in PDF and can be downloaded on mobile.