2 Day Developer > Using PL/SQL > Using the Main Features of ...
Using the Main Features of PL/SQL |
Previous |
Next |
PL/SQL combines the data-manipulating power of SQL with the processing power of procedural languages. You can control program flow with statements, such as IF
and LOOP
. As with other procedural programming languages, you can declare variables, define procedures and functions, and trap run time errors.
PL/SQL lets you break complex problems down into understandable procedural code, and reuse this code across multiple applications. When a problem can be solved through plain SQL, you can issue SQL statements directly inside your PL/SQL programs, without learning new APIs. PL/SQL datatypes correspond with SQL column types, enabling you to interchange PL/SQL variables with data inside a table.
This section contains the following topics: