What is PL/SQL?• PL/SQL is a programming language developed by Oracle and dedicated to Oracle • PL stands for procedurallanguage • SQL stands for structuredquery language • PL/SQL is an Oracle database extension of SQL statements, added programming
Abstract: In the PLSQL development process, the use of SQL and PLSQL can meet most of the requirements, but in some special circumstances, using standard SQL statements or DML statements in PLSQL cannot meet your needs. for example, dynamic table
Abstract: In the PL/SQL development process, SQL, PL/SQL can be used to meet most of the requirements. However, in some special cases, standard SQL statements or DML statements in PL/SQL cannot meet your needs. For example, dynamic table creation or
Dynamic Content Summary: In the Pl/sql development process, the use of sql,pl/sql can achieve most of the requirements, but in some special cases, the use of standard SQL statements or DML statements in Pl/sql can not achieve their own needs, For
The results returned by the recent SQL query cause a ORA-06502 error to the PL/SQL variable. The error description is ORA-06502: PL/SQL: numeric or value error: character string buffer too small. obviously, the length of the character variable
1. knowledge point: you can read the following screen recording:
PL/SQL program structure declare description (variable description, cursor declaration, exception description) begin statement sequence (DML statement 〕... Exception Processing
In general PL/SQL programming, SQL can be used directly in DML and transaction-controlled statements, but DDL statements and system control statements cannot be used directly in PL/SQL, and it is possible to implement DDL statements and system
1. Super-long PL/SQL code
Impact: maintainability and Performance
Symptoms:
In complex enterprise applications, there are hundreds of thousands of rows of stored procedures or tens of thousands of rows of packages.
Why is it the worst:
Too long
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.