The ORACLE tutorial is Oracle PL/SQL getting started. I have already learned the basics of PL/SQL programming. This article will use a case study to deepen my understanding of these kno
Many people, especially those who do not like Oracle, must learn from Oracle and think that Oracle occupies a lot of memory.I really don't like installing oracle on a physical machine. Most of them are Windows users, and most of them are developers.Based on the above requirements, I provide a solution:Attach an
Tags: des style blog tar width get1. Log in to PL/SQL DeveloperThis omits the installation steps for the Oracle database and PL/SQL developer, and note that when you install the PL/SQL
download down the path of the package. There is one last problem, you need to set a character set, so that the query out of the data will not be garbled, write a batch processing Pldev. BAT is placed in the PL installation directory with the following contents:Set Nls_lang=simplified Chinese_china. Zhs16gbkPLSQLDev.exeThis character set, refers to the server side of the character set, please configure according to the actual situation.Finally, just d
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
Introduction: Oracle DatabaseThere is no constraint. Oracle databases must comply with certain rules. As we all know, few of us work in isolation; most PL/SQL development work is carried out in a relatively large organization. But we basically work with our own device in our own compartment. Almost no
Tns_admin and the value is the path to the Tnsnames.ora file, for example: E:\oracleclient\instantclient_11_24.After installing Plsql, start, Cancel, and click Tools->preferences->connection:Oracle home=e:\oracleclient\instantclient_11_2OCI Library=e:\oracleclient\instantclient_11_2\oci.dllRestart Plsql, enter the user name, password, select the PL/SQL instance name to enter the database5.The initial login
Label:A cursor is a private workspace that holds the results of the execution of an SQL statement.When executing an SQL statement, the database server opens a workspace where the results of the SQL statement are saved.There are two forms of cursors in the Oracle database: implicit and explicit cursors.Implicit cursors
Original article: http://www.bootad.cn/post/185.html
As we all know, to connect to Oracle using PL/SQL, you need to install the Oracle client software. Have you ever wondered whether to directly connect to Oracle without installing the
variable, And then print this variable */ V_sal: = 1000; Dbms_output.put_line (v_sal); END; 10.pl/sql Code Authoring Rules1) Benefits using appropriate writing rules can improve the readability of the code and reduce the difficulty of maintaining the program. 2) Rules A. Naming rules for identifiers a. V_ variable name define variable b. e_ variable name definition exception c ... B. The casing rule code i
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
:14Pagecount:3Item No: 7,698 name: BLAKE Salary: 2850.0Item No: 7,782 name: CLARK Salary: 2450.0Item No: 7,788 name: SCOTT Salary: 4678.0Item No: 7,839 name: KING Salary: 6000.0Item No: 7,844 name: TURNER Salary: 1500.0Note here that the cursor cannot be closed while the procedure is being created, otherwise the Java test is reporting an exception and the cursor cannot be found. So, close p_cursor; this sentence should be commented out when executing the SQL
Original Title: Oracle and PL/SQL recipes: a problem-solution approach Author: (US) Josh Juneau Matt arena Translator: Political Commissar Name: turing Program Design Series Press: People's post and telecommunications Press ISBN: 9787115320766 Release Date: June 2013 publication date: 16 open pages: 376 versions: 1-1 category: computer> database>
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
a sub-block, the variables defined in the sub-block are used. The variables defined in the Child block cannot be referenced by the parent block. Similarly, the GOTO statement cannot jump from the parent block to the sub-block. Otherwise, it is legal.Outer BlockDeclareA_number integer;B _number integer;Begin-- A_number and B _number are available hereDeclareC_number integerB _number number (20)BeginC_number: = a_number;C_number = outer_block. B _number;End sub_block;End out_block;SummaryThis art
://wenku.baidu.com/view/e0e569c3bb4cf7ec4afed0db.html2. ConfigurationOn the server side, follow these steps:Select Net Manager, and thenAlways default Next,Ii. Oracle Client Installation and configurationInstallation is very simple, directly select the second item, has been the default next, until completed.Configuration:Select Net Configuration Assistant, and then select Local Network connectionAlways default Next, appearsFill in the Global database
Document directory
PL/SQL syntax
% Type of Custom Data Type
Record of composite data type
% Rowtype of composite data type
Summary of Oracle Extended Data Types
PL/SQL syntax
The PL/SQL
VARCHAR2) isBeginINSERT into EMP (empno,ename) values (in_no,in_name);EndThe out parameter represents the user's outputProgram Demo:Create or Replace procedure My_pro (In_no in Number,out_name out varchar2,out_sal off number) isBeginSelect Ename,sal to Out_name,out_sal from EMP where empno=in_no;Endin Sqlplus, you want the value after the process with the output has finished executingMethod 1: Write anonymous blocksDeclareV_name Emp.ename%type;V_sal Emp.sal%type;BeginMy_pro (7369,v_name,v_sal);
Tags: imp config file success tool ... prot www oracle shareFirst download instantclient can be downloaded to the Oracle website, to register the account, must be under the corresponding version, otherwise unsuccessful, 10g,11g version of, I have been sent up, free download: Is crossing, wait a minute Configuration file Tnsnames.ora This one place is generally put (network/admin), only in
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.