Chapter 2 procedural performance tuning of PL/SQL applications
I. Reasons for PL/SQL Performance problems
When the execution efficiency of PL/SQL-based applications is low, it is usually caused by poor SQL statements and programming methods,
A6l 06,200 4
Venkat -- thanks for the question regarding "passing an array from Java to PL/SQL", version 8.1.7
You asked Hi Tom, I need to pass String Array from Java to PL/SQL and also returnarray from PL/SQL. I refered your book and
Grammar:identifier [CONSTANT] datatype [not NULL] [: = | DEFAULT Expr]Identifier: Used to specify the name of a variable or constant.CONSTANT: Used to specify constants. When you define a constant, you must specify its initial value, and its value
Variable introduction when writing a PL/SQL program, you can define variables and constants, including: 1 in a PL/SQL program, scalar type (scalar) 2), composite type (composite)--for manipulating a single record 3), reference type (reference)--
1) classification of Sets
Oracle supports three types of collections:
Associative array (Index-by table)
Nested table)
Variable-length array (VARRAY)
One of their differences is that the Nested table and VARRY can be used either in PL/SQL or
First, Variable introductionWhen you write a PL/SQL program, you can define variables and constants, including the following in the PL/SQL program:1), scalar type (scalar)2), composite type (composite) --for manipulating individual records3),
1. The infrastructure of a PL/SQL blockDECLARE/** Definition section--Define constants, variables, complex data types, cursors, user-defined exceptions*/BEGIN/** Execute partial--PL/SQL statements and SQL statements*/EXCEPTION/** Exception Handling
1. Character SetThe character set of PL/SQL includes:
All uppercase and lowercase letters: include a~z and a~z.
Number: Includes 0~9.
Whitespace characters: include tabs, spaces, and carriage returns
Other common English symbols
PL/SQL provides three common set union arrays, nested tables, and variable-length arrays, PL/SQL provides corresponding functions or procedures for operation.
Element or subscript in the vertical array. These functions or procedures are called set
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.