Tags: Record rowtype database query name EDR result proc SeleI. PL/SQL (Procedure Language/sql) programming language1. ConceptPL/SQL is an extension of the Oracle database to the statement. In the use of ordinary SQL statements to add the characteristics of the programming l
My environment is like this: Win7 64-bit + Oracle 11g + PL/SQL 9.04
Since PL/SQL does not support 64-bit data at the moment, only Oracle client 32-bit data can be used, so you need to download it from the official website:
Remember: you must download a 32-bit package)
Http://www.oracle.com/technetwork/database/features
Label:After installing Oracle (64-bit), PL/SQL developer, execute PL/SQL occurs for example the following error:On the Internet, my PL/SQL developer is incompatible with Oracle, that is, PL
ORACLE provides the ability to store PL/SQL programs in a database, and can run it from anywhere. This is called a stored procedure or function . Stored function: There is a return value, after creation is completed, through the Select function () from dual;Stored procedure: Because there is no return value, after creation is complete, you cannot use the SELECT statement, only the
PL/SQL variables, constants, and parameters must have a valid data type, specifying a valid range of storage formats, constraints, and values.
category
Description
Scalar
Single value does not have an internal component, such as number, DATE, or BOOLEAN
Large Object (LOB)
Store large objects that point to other data items such as text, graphics i
PL/SQL1. Procedures, functions, and triggers are written in PL/SQL2, procedures, functions, triggers are stored in the Oracle database3. PL/SQL is a very powerful process language4, procedures, functions, triggers can be called in a Java programPL/SQL Writing can save a litt
Tags: oracle plsql cursor Explicit Leng-type cursors Use of Cursors① Cursor ConceptIn order to handle SQL statements, ORACLE must allocate a region called the context area to process the required information.This includes the number of rows to be processed, a pointer to the representation of the statement being parsed, and the active set of the query.A cursor is a handle (handle) or pointer to a context. with cursors,
Four simple guidelines to improve the number and quality of Pl/sql code
I've been writing Pl/sql code since 1990. That means I've written tens of thousands of of lines of software code, but I'm sure most of the code is very clumsy and difficult to maintain.
Luckily, I find it's not too late to find and follow a new w
The Oracle tutorial being looked at is: PL/SQL implementation of Oracle database task scheduling. Absrtact: This article mainly on the database recovery and system task scheduling, combined with the general database background processing experience, put forward a more practical and innovative solutions, broaden the background of the development of the database of ideas.
Keywords: data recovery, task schedu
Oracle BASICS (5) Advanced pl/SQL (paging process)Compile the paging process to implement the paging process through pl/SQL, and then step by step from simple to difficult. The purpose is to familiarize yourself with the various stored procedures, packages, and cursors of pl
3.1 using DML in PL/SQLIn the PL/SQL block, the two variables are assigned the value of a. : = Initialize. B. The SELECT INTO syntax, the declaration portion of a PL/SQL block is declared, and later can be assigned using a SELECT statement.3.1.1 Variable initialization using
Label:Free installation of Oracle clients using PL/SQLThe Oracle client is annoying, and deploying a connection to it usually requires the client to install it, and the installer requires the registry to be written on the target machine, assuming you're not a neat freak, you could still be stuck with something like this: when other programs on your machine rely on x64 's Oracle program, And they're probably not written by you at all, so you don't have
Tags: basic syntax structure PL/SQL1. Branching structureIn PL/SQL, the IF keyword is used as the starting segment of the program for the point structure.There are several branching structures in general:1) If Condition then statement end if;2) If Condition then statementElse then statementEnd If;3) If Condition then statementelsif condition Then statement...Else
Tags: variable int var rom tag blog Select str EnterCreate a PL/SQL block to calculate the compensation amount for one year. Requirements 2 Pass the annual payroll and annual bonus ratios to PL/SQL blocks by using an *plus substitution variable The 2 bonus ratio is an integer that is converted to a decimal form in the
PL/SQL Developer usage tips, shortcut keys1, set the keyword automatic capitalization: tools->preferences->editor, will keyword case select uppercase. When you enter SQL statements in a window, the keywords are automatically capitalized, and the others are lowercase. This is easy to read code, and to maintain a good coding style, in the same way, in Tools->prefer
The case of PL/SQL programming specification
As in SQL, Pl/sql is case-insensitive. Its general guidelines are as follows:
Keywords (BEGIN, EXCEPTION, end, IF THEN else,loop, End LOOP), data type (VARCHAR2, number), internal functions (least, SUBSTR), and user-defined subr
One: PL/SQL program blockPL/SQL is a block-structured language, and a PL/SQL program is a code logic block.The PL/SQL program consists of three components:
1
Declarat
We know that there is an overhead for running SQL statements in PL/SQL programs, because SQL statements must be submitted to the SQL engine for processing.
The transfer of control between PL/S
Basic PL/SQL entry cursor
PL/SQL: a programming Language combined with a Structured Language (Structured Query Language). It is an extension of SQL and supports multiple data types, such as large objects and Collection types, you can use control statements such as conditions
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.