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 context zone for it in the memory. The database language used to describe th
PLSQL9.2 cannot connect to the Oracle database. When Oacle11g is installed on the system and Oacle10g is installed on the client, plsql is used to connect to the database.
PL/SQL 9.2 cannot connect to the Oracle database. When the system is installed with Oacle 11 GB and the client is installed with Oacle 10 Gb, it will occur when you use pl/
How to install PL/SQL developer on Linux工欲善其事 its prerequisite, PL/SQL and Toad are important tools for Oracle practitioners, but none of these tools have a Linux distribution, and if you want to use these tools on Linux, you needWine or crossover This Windows application Simulator, crossover is wine's enhanced version
1. What is the cursor?
Oracle uses two types of cursor: explicit cursor and implicit cursor. No matter how many records are returned by the statement, PL/SQL implicitly declares a cursor for each SQL command, such as UPDATE, DELETE, and INSERT. To manage SQL statement processing, you must implicitly define a cursor fo
--Basic structureDECLARE--Variable declaration section: this declares the variables, types, cursors, and local stored procedures and functions used in PL/SQLBEGIN--Execution part: process and SQL statement, which is the main part of the programEXCEPTION--Execution Exception section: Exception HandlingEND;--pl/sql Basic
(1). PL/SQL is not case sensitive.(2). Character Type:CHAR: up to 32767 characters.(3). Fast format:BeginDeclareBeginExceptionEndEndNote: If you use the first bengin, you must use the second one, and vice versa.(4) annotation method:Single Row -- this is a one-line commentMultiple rows/* this isIsOne-line comment*/(5) PL/SQL
Due to the continuous updating of hardware technology, Win7 system gradually become mainstream, and computer memory gradually increased, in order to make full use of memory resources (because 32 of the system can only use up to 3G of memory), improve system performance, many people began to use the Win7 (64Bit) system. A 64-bit Oracle database is installed on a 64-bit system, but there is no corresponding 64-bit PL/
can distinguish between inner and outer loops, and you can exit the outer loop directly in the inner loop. When writing PL/SQL blocks, you can use the Declareresult int;BeginFor I in 1..100 loopFor j in 1..100 LoopResult:=i*j;Exit outer when result=1000;Exit when result=500;End loop inner;Dbms_output.put_line (result);End loop outer;Dbms_output.put_line (result);End/As shown above, when a
Exception error HandlingA good program should be able to properly handle all kinds of error situations and recover from them as much as possible. ORACLE provides exception conditions (EXCEPTION) and exception handling (EXCEPTION HANDLER) for error handling① has three types of exception errors:1. Pre-defined (predefined) errorsThere are approximately 24 pre-defined exception cases for Oracle. The handling of this exception does not have to be defined in the program and is automatically raised
One, the packageA package is a combination of a set of related procedures, functions, constants, variables, cursors, exceptions, and other PL/SQL programming elements. It is similar to classes in C + + and Java where variables are equivalent to member variables in a class, and procedures and functions are equivalent to methods in a class. By using packages, developers can use the object-oriented approach to
Oracle developer estimates are very familiar with PL/SQL developer, and there are some small function points that some beginners have not found. PL/SQL Developer supports multi-connection multiple windows, as detailed below.
Concept of the primary connectionOpen PL/
Tags: style blog http io strong for file Data 2014Export/import icons are grayed out:Cause: The associated application is not associatedMenu Bar-- T-ools--Import Tables ...--Oracle ImportExport Executable : %oracle_home%\bin\imp.exe Output file:c:\documents and settings\administrator\ desktop \eam.dmpPL/SQL Developer is the primary tool for importing or exporting databases in an Oracle database , and this article mainly describes the process of import
PL/SQLPL/SQL is a block-structured language that places a set of statements in a block and sends it to the server at once. It is an extended language combined with Oracle process language and Structured Query languageComposition of PL/SQL code blocksDeclare--The markup declaration section is used to declare some variab
Label:The PL/SQL language is the language that Oracle expands on SQL.1 procedures, functions, triggers are written in PL/SQL2 procedures, functions, triggers are in Oracle3 PL/SQL statements can be called directly in Java Simple I
Due to the continuous updating of hardware technology, Win7 system gradually become mainstream, and computer memory gradually increased, in order to make full use of memory resources (because 32 of the system can only use up to 3G of memory), improve system performance, many people began to use the Win7 (64Bit) system. A 64-bit Oracle database is installed on a 64-bit system, but there is no corresponding 64-bit PL/
PL/SQL Developer is the main tool used to import or export databases in Oracle databases. This article mainly introduces the process of using PL/SQL Developer to import and export databases, some precautions for import or export are described. Next we will introduce them one by one.Export Steps:1 tools-> export user ob
PL/SQL Developer is the main tool used to import or export databases in Oracle databases. This article mainly introduces the process of using PL/SQL Developer to import and export databases, some precautions for import or export are described. Next we will introduce them one by one.
Export Steps:1 tools-> export user o
PL/SQL Developer Import and Export database method and illustrate how well does you KNOW the APPLE UNIVERSE?In, Apple became the first company worth how much?Which religion did Steve Jobs practice?What is one of the Apple protects its secrecy?In 1981, "Woz" is in a plane crash and suffered which effect?Why does Steve Jobs leave his job designing video games at Atari?Who is Apple's second biggest, after the
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.