We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
PL/SQL: PL/SQL stands for Procedural Language extensions to SQL (Structured
Query Language ). It was created by Oracle in order to overcome the
disadvantages of SQL for easier building and handling of critical applications in a comprehensive manner. Following are the disadvantages of SQL: There is no provision of decision-making, looping, and branching in SQL. Since the SQL statements get passed to the Oracle engine all at the same time, the speed of execution decreases due to the nature of increased traffic. There is no feature of error checking while manipulating the data. PL/SQL was introduced to overcome the above disadvantages by retaining the power of SQL and combining it with the procedural statements. It is developed as a block-structured language and the statements of the block are passed to the oracle engine which helps to increase the speed of processing due to the decrease in traffic. 1. What are the features of PL/SQL? Following are the features of PL/SQL: PL/SQL provides the feature of decision making, looping, and branching by making use of its procedural nature. Multiple queries can be processed in one block by making use of a single command using PL/SQL. The PL/SQL code can be reused by applications as they can be grouped and stored in databases as PL/SQL units like functions, procedures, packages, triggers, and types. PL/SQL supports exception handling by making use of an exception handling block. Along with exception handling, PL/SQL also supports error checking and validation of data before data manipulation. Applications developed using PL/SQL are portable across computer hardware or operating system where there is an Oracle engine 2. What do you understand by PL/SQL table? PL/SQL tables are nothing but objects of type tables that are modeled as database tables. They are a way to provide arrays that are nothing but temporary tables in memory for faster processing. These tables are useful for moving bulk data thereby simplifying the process.