Today, we will briefly summarize the usage of cursor in PL/SQL.
Cursor category:
-- Explicit cursor-- Static cursor |
| -- Implicit cursorCursor |-- Strong type (Restriction), specifying the return type-- Dynamic Cursor -- ref cursor |-- Weak type
ORACLE stored procedure details, oracle Stored ProcedureORACLE Stored Procedure explanation 1. Definition
A Stored Procedure is a set of SQL statements used to complete specific database functions. The SQL statement set is compiled and Stored in the
ORACLE Stored Procedure learning, oracle Stored Procedure
Stored Procedure1 create or replace procedure stored PROCEDURE name
2 IS
3 BEGIN
4 NULL;
5 END;
Row 1:
Create or replace procedure is an SQL statement that notifies the Oracle database to
ORACLE 11G traverses the cursor in the stored procedure, calls the scheduled execution of job tasks, and 11 gjob
Cursor traversal and scheduled job execution in ORACLE stored procedures
1. First, use the For Loop
For Loop is a simple and practical
Oracle stored procedure Basic syntax introduction, the needs of friends can refer to the followingOracle stored procedure Basic syntax stored procedure1 CREATE OR REPLACE PROCEDURE Stored procedure name2 is3 BEGIN4 NULL;5 END;Line 1:Create OR
The use of any language or technology is the final principle. Why should we use stored procedures? Not applicable? Is there anything better than a stored procedure ?, With these series of problems, we can enter the use stage of the stored procedure.1
1. IntroductionSQL is a collection-oriented language, and the result is generally a collection (with multiple records), and the PL-SQL variable is a scalar, a set of variables can only hold one record at a time. Many times the number of records for
An extended stored procedure calls another stored procedure, example:Called stored procedure: Finally, a cursor is returned, and the cursor returns a value. The stored procedure that calls this stored procedure also needs to get it.
Oracle stored procedure Basic syntax stored procedure1 CREATE OR REPLACE PROCEDURE Stored procedure name2 is3 BEGIN4 NULL;5 END;Line 1:Create OR REPLACE PROCEDURE is an SQL statement that notifies the Oracle database to create a stored procedure
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.