Introduction to Oracle's PL/SQL Learning notes (i)

Source: Internet
Author: User

1. What is PL/SQL?

PL/SQLIt is also a programming language called the Process SQL language (procedural language/sql). PL/SQLis aOracle DatabaseAn extension to the SQL statement. Added to the use of ordinary SQL statementsProgramming languagesthe characteristics, soPL/SQLThe data operation and query statements are organized in the process unit of PL/SQL code, and the complex functions or computations are realized through the operation of logic judgment and loop. PL/SQL is available only for Oracle databases.


2. The advantages of PL/SQL


1. Improve the performance of your application

Traditional Java programs that pass SQL to Oracle Server SQL statements are compiled on the Oracle server,

compile every time.

2. Modular Design Ideas

The process of paging, directly passing the table name, the first few pages, a few data per page .....

[process of order, process of transfer]

3. Reduce network traffic

Traditional SQL statements are delivered to the Oracle server using bandwidth, and if there is a lot of SQL, it takes a lot of traffic.

PL/SQL reduces the amount of network traffic by reducing the number of statements.

4. Improve security5. You can use simple PL/SQL to write complex statements
3. The shortcomings of PL/SQL1. Transplant is not good2. The skills required for Oracle are high


4. Development toolsA. Sqlplusb. PL/SQL Developer (Development of PL/SQL artifact)C. SQL Developer (Oracle's own development tools, multiplatform)


Introduction to Oracle's PL/SQL Learning notes (i)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.