9.windows-oracle combat Lesson 9 --plsql (a)

First, the concept of oracle pl / sql of

  pl / sql oracle is spread over a standard sql language, not only allows embedding sql, also allows the definition of variables and constants allows the use of conditional statements and loop statements, allows the use of various error handling exceptions, such that it is more powerful.

1. procedures, functions, triggers a pl / sql written

2. procedure, a function, trigger is in the oracle

3.pl/sql is a very powerful database procedural languages

4. The process function may be called java program

Advantages: increased procedural programming procedures, reduce network traffic, improve safety, running performance of the application

Disadvantages: poor portability

Two, pl / sql programming language (including functions, procedures, triggers, packages, etc.)

A simple example: preparation of a stored procedure, the process may add a record to the table

Guess you like

Origin www.cnblogs.com/dangjingwei/p/12141617.html