Read and download CBSE Book Class 12 Informatics Practices PL SQL in NCERT book for Class 12 Informatics Practices. You can download latest NCERT books PDF chapterwise free from Studiestoday.com. This Informatics Practices textbook for Class 12 is designed by NCERT and is very useful for students. Please also refer to the NCERT solutions for Class 12 Informatics Practices to understand the answers of the exercise questions given at the end of this chapter
NCERT Book for Class 12 Informatics Practices Pl Sql
Class 12 Informatics Practices students should refer to the following NCERT Book Pl Sql in Class 12. This NCERT Book for Class 12 Informatics Practices will be very useful for exams and help you to score good marks
Pl Sql NCERT Book Class 12
Click on the view or download PDF button below to access the Pl Sql Class 12 Informatics Practices book. All Informatics Practices Class 12 NCERT books have been divided into various chapters so that you can download and read them easily. Refer to the section below to access more books of Informatics Practices in Class 12.
Chapter – 1
PL/SQL
(Informatics Practices)
PL/SQL = Procedural Language extensions to SQL
An Oracle-specific language combining features of:
- modern, block-structured programming language
- database interaction via SQL
Designed to overcome declarative SQL's inability to specify control aspects of DB interaction.
Used to add procedural capabilities to Oracle tools.
PL/SQL is implemented via a PL/SQL engine (cf. JVM)
- which can be embedded in clients (e.g. Forms, SQL*Plus)
- which is also usually available in the Oracle server
Why PL/SQL?
Consider trying to implement the following in SQL (SQL*Plus):
If a user attempts to withdraw more funds than they have from their account, then
indicate "Insufficient Funds", otherwise update the account
A possible implementation:
ACCEPT person PROMPT 'Name of account holder: '
ACCEPT amount PROMPT 'How much to withdraw: '
UPDATE Accounts
SET balance = balance - &amount
WHERE holder = '&person' AND balance > &amount;
SELECT 'Insufficient Funds'
FROM Accounts
WHERE holder = '&person' AND balance < = &amount;
Two problems:
- doesn't express the "business logic" nicely
- performs both actions when (balance-amount < amount)
We could fix the second problem by reversing the order (SELECT then UPDATE).
But in SQL there's no way to avoid executing both the SELECT and the UPDATE
PL/SQL allows us to specify the control more naturally:
-- A sample PL/SQL procedure
PROCEDURE withdrawal(person IN varchar(20), amount IN REAL ) IS
current REAL;
BEGIN
SELECT balance INTO current
FROM Accounts
WHERE holder = person;
IF (amount > current)
dbms_output.put_line('Insufficient Funds');
ELSE
UPDATE Accounts
SET balance = balance - amount
WHERE holder = person AND balance > amount;
COMMIT;
END IF;
END;
And package it up into a useful function, which could be used as:
SQL> EXECUTE withdrawal('John Shepherd', 100.00);
Please refer to attached file for CBSE Classs 12 Informatics Practices PL-SQL
NCERT Book Class 12 Informatics Practices Pl Sql
The above NCERT Books for Class 12 Informatics Practices Pl Sql have been published by NCERT for latest academic session. The textbook by NCERT for Pl Sql Informatics Practices Class 12 is being used by various schools and almost all education boards in India. Teachers have always recommended students to refer to Pl Sql NCERT etextbooks as the exams for Class 12 Informatics Practices are always asked as per the syllabus defined in these ebooks. These Class 12 Pl Sql book for Informatics Practices also includes collection of question. Along with Informatics Practices Class 12 NCERT Book in Pdf for Pl Sql we have provided all NCERT Books in English Medium for Class 12 which will be really helpful for students who have opted for english language as a medium. Class 12 students will need their books in English so we have provided them here for all subjects in Class 12. You can download free NCERT Informatics Practices Class 12 Textbook PDF and all chapters by clicking on the links above
You can download the NCERT Book for Class 12 Informatics Practices Pl Sql for latest session from StudiesToday.com
Yes, you can click on the link above and download chapter wise NCERT Books in PDFs for Class 12 for Informatics Practices Pl Sql
Yes, the NCERT Book issued for Class 12 Informatics Practices Pl Sql have been made available here for latest academic session
You can easily access the link above and download the Class 12 NCERT Books Informatics Practices Pl Sql for each chapter