Oracle Database: PL/SQL cursor overview, oracleplI. cursor Concept
Literally, it refers to a swimming cursor, which is a handle or pointer pointing to the context area.
When performing the CRUD operation in the PL/SQL block, ORACLE allocates a
1. Cursor conceptLiterally, it refers to a swimming cursor, which is a handle or pointer pointing to the context area.When performing the CRUD operation in the PL/SQL block, ORACLE allocates a context zone for it in the memory. The database language
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
one. Adaptive cursor Sharing (adaptive Cursor sharing) Description
1.1 ACS Overview
Binding variables Enable Oracle DB to share a single cursor for multiple SQL statements to reduce the amount of shared memory used for parsing SQL statements.
Basic Oracle cursor and basic oracle cursor
I. cursorThe cursor is used to process the multi-row records retrieved from the database (using the SELECT statement ). With the cursor, the program can process and traverse the entire record set returned
1. What is a cursor?① Retrieve the result set from the table and point to a record for interaction at a time.② Operations in relational databases are performed on the complete set of rows.The row set returned by the SELECT statement includes all
1, what is a cursor? ① retrieves the result set from the table, and the mechanism from which each point points to a record for interaction.The operations in the ② relational database are performed on the complete rowset.The rowset returned by the
Cursor is a complex concept in the database field, because it contains shared cursor and session cursor. The two have different concepts and forms.The concept of shared cursor is easy to confuse with the cursor defined in SQL statements. This
Detailed description of Oracle CURSOR instance, oraclecursor CURSORI,Cursor Overview
Cursor is a data buffer provided by the database system in the memory. It stores the execution results of SQL statements.
Each cursor has a name. You can use SQL
1, what is a cursor.① retrieves a result set from a table from which the mechanism for interacting with each record is pointed.Operations in the ② relational database are performed on a complete rowset.The rowset returned by the SELECT statement
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.