Read and download the Transactions Procedures And Functions PDF from the official NCERT Book for Class 12 Informatics Practices. Updated for the 2025-26 academic session, you can access the complete Informatics Practices textbook in PDF format for free.
NCERT Class 12 Informatics Practices Transactions Procedures And Functions Digital Edition
For Class 12 Informatics Practices, this chapter in CBSE Book Class 12 Informatics Practices Transactions Procedures and Functions provides a detailed overview of important concepts. We highly recommend using this text alongside the NCERT Solutions for Class 12 Informatics Practices to learn the exercise questions provided at the end of the chapter.
Transactions Procedures And Functions NCERT Book Class Class 12 PDF (2025-26)
Chapter – 4
Transactions, Procedures and
Functions
(Informatics Practices)
A transaction is a sequence of SQL statements to accomplish a single task.
Example: Transfer funds between bank accounts.
-- assume source_acct, dest_acct, amount,
-- and source_balance are defined
BEGIN
SELECT balance INTO source_balance
FROM Accounts WHERE acct# = source_acct;
-- check whether sufficient funds
UPDATE Accounts SET balance = balance-amount
WHERE acct# = source_acct;
UPDATE Accounts SET balance = balance+amount
WHERE acct# = dest_acct;
COMMIT;
END;
Oracle treats such a sequence as an indivisible unit, to ensure that database is left in a consistent state. PL/SQL gives fine-grained control over progress of transaction. This also gives responsibility to ensure that transaction completes ok. The first SQL statement begins a transaction. COMMIT forces any changes made to be written to database. ROLLBACK restores database to state at start of transaction. Both COMMIT and ROLLBACK finish the transaction. Can achieve finer-grained rollback via savepoints:
BEGIN
...
UPDATE Employees SET ... WHERE id# = emp_id;
DELETE FROM Employees WHERE ...
...
SAVEPOINT more_changes;
...
-- make changes to Employees
-- possibly raise some_exception
...
COMMIT;
EXCEPTION
WHEN some_exception THEN ROLLBACK TO more_changes;
END;
Locking with Cursors
When accessing tables via a cursor, normally the table is locked. PL/SQL provides a mechanism to lock individual rows instead:
DECLARE
CURSOR managers IS
SELECT emp#, job, salary
FROM Employees WHERE job = 'Manager'
FOR UPDATE OF salary;
BEGIN
FOR e IN managers LOOP
UPDATE Employees SET salary = new_sal
WHERE CURRENT OF managers;
COMMIT;
END LOOP;
END;
PL/SQL provides packaging mechanism for small blocks of procedural code:
PROCEDURE ProcName(ArgList) IS
declarations;
BEGIN
statements;
EXCEPTION handlers;
END ProcName;
FUNCTION FuncName(ArgList) RETURN Type IS
declarations;
BEGIN
statements; -- including RETURN Expr;
EXCEPTION handlers;
END FuncName;
Please refer to attached file for CBSE Classs 12 Informatics Practices Transactions Procedures and Functions
| CBSE Book Class 12 Informatic Practices Querying and SQL Functions |
| CBSE Book Class 12 Informatic Practices Data Handling using Pandas I |
| CBSE Book Class 12 Informatic Practices Data Handling using Pandas II |
| CBSE Book Class 12 Informatic Practices Plotting Data using Matplotlib |
| CBSE Book Class 12 Informatic Practices Internet and Web |
| CBSE Book Class 12 Informatic Practices Societal Impacts |
| CBSE Book Class 12 Informatic Practices Project Based Learning |
Important Practice Resources for Class 12 Informatics Practices
NCERT Book Class 12 Informatics Practices Transactions Procedures And Functions
Download the official NCERT Textbook for Class 12 Informatics Practices Transactions Procedures And Functions, updated for the latest academic session. These e-books are the main textbook used by major education boards across India. All teachers and subject experts recommend the Transactions Procedures And Functions NCERT e-textbook because exam papers for Class 12 are strictly based on the syllabus specified in these books. You can download the complete chapter in PDF format from here.
Download Informatics Practices Class 12 NCERT eBooks in English
We have provided the complete collection of NCERT books in English Medium for all subjects in Class 12. These digital textbooks are very important for students who have English as their medium of studying. Each chapter, including Transactions Procedures And Functions, contains detailed explanations and a detailed list of questions at the end of the chapter. Simply click the links above to get your free Informatics Practices textbook PDF and start studying today.
Benefits of using NCERT Class 12 Textbooks
The Class 12 Informatics Practices Transactions Procedures And Functions book is designed to provide a strong conceptual understanding. Students should also access NCERT Solutions and revision notes on studiestoday.com to enhance their learning experience.
You can download the latest, teacher-verified PDF for CBSE Book Class 12 Informatics Practices Transactions Procedures and Functions for free on StudiesToday.com. These digital editions are updated as per 2025-26 session and are optimized for mobile reading.
Yes, our collection of Class 12 Informatics Practices NCERT books follow the 2026 rationalization guidelines. All deleted chapters have been removed and has latest content for you to study.
Downloading chapter-wise PDFs for Class 12 Informatics Practices allows for faster access, saves storage space, and makes it easier to focus in 2026 on specific topics during revision.
NCERT books are the main source for NCERT exams. By reading CBSE Book Class 12 Informatics Practices Transactions Procedures and Functions line-by-line and practicing its questions, students build strong understanding to get full marks in Informatics Practices.