PL/SQL tutorial
PL/SQL was developed by Oracle in the early 1990s to improve the functionality of SQL.
PL/SQL is one of the three key programming languages embedded in the Oracle database (along with SQL itself and Java).
PL/SQL is an extension of SQL statements to Oracle databases. The characteristics of programming language are added to the use of ordinary SQL statements, so PL/SQL is a program language that organizes data operations and query statements in the process unit of PL/SQL code, and realizes complex functions or calculations through logical judgment, loops and other operations. The PL/SQL programming language was developed by Oracle in the 1980s as an SQL programming extension language and Oracle relational database. Here are the noteworthy facts about PL/SQL: PL/SQL is a fully portable, high-performance transaction processing language. PL/SQL provides a built-in interpreter and an independent programming environment for OS. PL/ SQL can also directly call the command line SQL Plus interface. Direct calls can also call the database from an external programming language. The general syntax of PL/SQL is based on the ADA and Pascal programming languages. In addition to Oracle, PL/SQL is also available in TimesTen in-memory databases and IBM DB2. The characteristics of PL/SQL PL/SQL has the following characteristics: PL/SQL is closely integrated with SQL. It provides a wide range of error checking. It provides a large number of data types. It provides a variety of programming structures. It supports structured programming through functions and programs. It supports object-oriented programming. It supports the development of Web applications and server pages. The advantages of PL/SQL PL/SQL has the following advantages: SQL is a standard Beijing × × Beijing quasi-database language and PL/SQL strives to use SQL integration. PL/SQL supports both static and dynamic SQL. Static SQL supports DML operations and transactional PL/SQL block control. Dynamic SQL is a DDL statement that SQL allows embedding in PL/SQL blocks. PL/SQL allows an entire block of statements to be sent to the database at once. This reduces network traffic and provides high-performance applications. PL/SQL gives programmers high productivity because it can query, transform, and update data in the database. PL/SQL 's powerful features such as exception handling, encapsulation, data hiding and object-oriented data types can save time in design and debugging. Writing PL/SQL applications is completely portable. PL/SQL provides a high level of security. PL/SQL provides access to predefined SQL packages. PL/SQL provides object-oriented programming support. PL/ SQL provides support for developing Web applications and server pages.