CBSE Class 12 Informatics Practices PL SQL

Read and download CBSE Class 12 Informatics Practices PL SQL in NCERT book for Class 12 Informatics Practices. You can download latest NCERT eBooks chapter wise in PDF format 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

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

Informatics Practices NCERT Book Class 12 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. We have also provided NCERT solutions for Class 12 Informatics Practices which have been developed by teachers of StudiesToday.com after thorough review of the latest book and based on pattern of questions in upcoming exams for Class 12 students.

NCERT Book Class 12 Informatics Practices Pl Sql

The latest NCERT book for Pl Sql pdf have been published by NCERT based on the latest research done for each topic which has to be taught to students in all classes. The books for Class 12 Informatics Practices Pl Sql are designed to enhance the overall understanding of students. All Class 12 NCERT textbooks have been written in an easy to understand language which will help to enhance the overall level of Class 12 students. 

Pl Sql NCERT Book Class 12 Informatics Practices

As the students of Class 12 need the books for their regular studies, we have provided all NCERT book for Pl Sql in pdf here for free download. All pdf NCERT books available here for Class 12 will help them to read on their mobile or computers. They can take a print of the Class 12 Informatics Practices NCERT Book Pl Sql pdf easily and use them for studies. The NCERT textbooks for Class 12 Informatics Practices have been provided chapter-wise and can be downloaded for free of cost. 

Class 12 Informatics Practices Pl Sql NCERT Book

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.

Class 12 Pl Sql NCERT Book Informatics Practices

For Class 12 Pl Sql we have provided books for students who have opted for Hindi and Urdu medium too. You can click on the links provided above to download all Hindi medium Class 12 Informatics Practices Pl Sql book in easy to read pdf format. These books will help Class 12 Informatics Practices students to understand all topics and also strictly follow latest syllabus for their studies. If you are looking to download the pdf version of Class 12 Informatics Practices Pl Sql textbook issued by NCERT then you have come to the correct website

Where can I download latest NCERT Book for Class 12 Informatics Practices Pl Sql

You can download the NCERT Book for Class 12 Informatics Practices Pl Sql for latest session from StudiesToday.com

Can I download the NCERT Books of Class 12 Informatics Practices Pl Sql in Pdf

Yes, you can click on the link above and download chapter wise NCERT Books in PDFs for Class 12 for Informatics Practices Pl Sql

Are the Class 12 Informatics Practices Pl Sql NCERT Book available for the latest session

Yes, the NCERT Book issued for Class 12 Informatics Practices Pl Sql have been made available here for latest academic session

How can I download the Class 12 Informatics Practices Pl Sql NCERT Book

You can easily access the link above and download the Class 12 NCERT Books Informatics Practices Pl Sql for each chapter

Is there any charge for the NCERT Book for Class 12 Informatics Practices Pl Sql

There is no charge for the NCERT Book for Class 12 Informatics Practices Pl Sql you can download everything free

How can I improve my scores by reading NCERT Book in Class 12 Informatics Practices Pl Sql

Regular revision of NCERT Books given on studiestoday for Class 12 subject Informatics Practices Pl Sql can help you to score better marks in exams