Global Zone (PGA):This system diagram is very important to hear, many companies interview request handwriting this figureInstallation of the 3.pl/sql toolThe first installation did not succeed, under the CSDN resources, now think of it should be tnsnames.ora there is a Sqlnet.ora two files are not configured, resulting in the connection when the detection of the database is only a 222222222, go in to say n
Oracle 11g PL/SQL function result cache, oracle11g
Two experiments have been conducted to simulate the Oracle Performance Diagnosis art. The book says that if you don't need RELIES_ON, then the changes to the objects on which the function depends will not result in the invalid result cache operation (result_cache RELIES_ON (test1, test2). The test proves that this operation is incorrect. The function f1 ()
Difference between % TYPE and % ROWTYPE in PL/SQL, % type % rowtype
% TYPE:
Defines a variable. Its data type is the same as that of a defined data variable or the data type of a column in a database table.In this case, % TYPE can be used.The advantages of using the % TYPE feature are:
1. You do not need to know the Data Type of the referenced database column;2. The data type of the referenced database colu
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
MySQL, MariaDB, SQL Server, SQLite, Oracle, and PostgreSQL databases in a single program. The official website is: Http://www.navicat.com.cn/products/navicat-premium. Since this machine is a 64-bit operating system, download the latest 11.1.10 64-bit version. 3, Pl\sql Developer 10.0.5.1710 PL/
(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
2008/03/20
Basic PL/SQL
1. PL/SQL Basics
2. PL/SQL Block StructureDeclare... Variable DeclarationBegin....Exception....End;/
Variable declaration contentAssign a proper variable name, the correct data type of the variable,
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/
typeSyntax:Identifier [constant] datatype [not null] [: = | default expr]Identifier: Specifies the variable or constant name.Constant: a constant.Datatype: used to specify the type of a variable or constantNot NULL: non-null. It must be initialized.:=: The value assignment matchesDefault: Default ValueExpr: Initial Value
1.3. scalar definition rulesDeclare a variable per lineVariable Value assignment: identifier: = value;Variable names can contain up to 30 characters
1.4 Use the % Type attribut
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
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
The ORACLE tutorial is: PL/SQL programming experience summary Developer Network Oracle. I usually encounter some problems in PL/SQL programming. I will summarize them in the form of Q A for you to share.1. Can pipelines be used to improve processing efficiency when you need to load a large amount of data streams to a
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.