configuration. Here we choose to use the install-free Oracle client. Reason:1. easy to use. 2. not with other dependent Oracle the program conflicts. 1. Download instantclient-basic-nt-11.2.0.3.0.zip Just download the Instantclient-basic-nt-11.2.0.3.0.zip, and the rest is a package that expands according to different needs.: http://www.oracle.com/technetwork/topics/winsoft-085727.html 2.unzip to the loca
3--loop statement /* Web Oracle Database development must be pl/sql_2-4 Loop Loop Statement Prints the number 1-10 */ Set Serveroutput on DECLARE pnum number: = 1; Begin Loop Exit when pnum>10; Dbms_output.put_line (Pnum); Pnum: = Pnum +1; End Loop; End / Instance 3--for statement /* Web Oracle Database development must be p
Tag:cahttpcom use data Transfer from:http://www.360doc.com/content/14/0602/10/4903283_382949382.shtml This you need to install a 32-bit Oracle client to use Plsql, But at this time sqlplus can not be used, hehe . I tried the following method, successfully, haha 1) install Oracle 11g 64-bit 2) Install 32-bit Oracle client ( instantclient-basic-win32-11.2.0.1.0)
Operating System: Windows 7 64-bit flagship
Required. Install PL/SQL developer for development.
1. Download the simplified green version of Oracle
Http://www.oracle.com/technetwork/topics/winsoft-085727.html
Note that you need to download a 32-bit version, because PL/SQL
execution. The ename value of the query is stored in the V_name, and Sal is placed in the V_sal and then displayed.3. Example 3 PL/SQL block with exception handlingDeclare v_name varchar2, v_sal number (7,2); Begin select Ename,sal into V_name,v_sal from EMP where empno=no; Dbms_output.put_line (' Employee Name: ' | |V_name); Dbms_output.put_line (' Salary: ' | | v_sal); Exceptionwhen No_data_found then Db
after the while is true, the loop weight statement sequence is executed 1 times, and then the expression after the while is re-determined to be true, only if the Boolean expression after the while is false. To end the entire loop loop. The syntax for the statement structure is as follows: [ C, while ... Loop structure Sql>--while...loop
sql> declare
2 v_rlt Number (8): =-3;
3 begin
4 3.F
The following articles mainly describe how to create and call Oracle procedure in pl/SQL. This article describes the actual procedure of Oracle procedure through the actual operations of the relevant application code, the following is an introduction to the main content of the text. I hope you will have some gains.
inversion function, which indicates that I is descending from 10 to 1, and removing reverse indicates that I increment from 1 to 10 INSERT into USERS VALUES (I, ' shunping '); END LOOP;END;/--Call the stored procedureEXEC Sp_pro6; We can see the control variable I, which is continuously increasing in the implication. Six, sequential control statements –goto, NULL1), goto statementThe goto statement is used to jump to a specific symbol to execute a statement. Note Because the use of GOTO s
1. pl/SQL cannot connect to the local oracle (ORA 12154: TNS: the specified connection identifier cannot be resolved)
Solution: pl/SQL cannot be installed in the Program Files (x86) folder, and must be installed in the Program Files folder.
2.
Oracle PL/SQL loop processing today is the loop iteration processing in Oracle, because many netizens have searched FOR the keyword "SQL FOR loop" from their blog statistics ", so I want to explain my understanding here. Www.2cto.com PL
Basic knowledge of oracle Database PL/SQL 1) Overview: the programming language formed by oracle procedural expansion in the standard SQL language is a unique feature of oracle, languag
The following articles mainly use relevant Code to introduce the actual application solution for creating and calling Oracle procedure in pl/SQL, if you want to create Oracle procedure in pl/SQL and call it, the following articles
Tags: data import test reg Microsoft software question mark condition technology sharingProblem Description:Login PL/SQL, the output of the Chinese caption is displayed as a question mark after executing the statement???? If the condition contains Chinese, there is no data. ? ?? ?If it is not Chinese, you need to modify the registry value as follows:Enter the registry: Win+r, enter regedit, then return, cli
Oracle PL/SQL non-predefined exceptions, custom exception handling, RAISE_APPLICATION_ERROR throwing exceptions Oracle has three types of exception errors: 1. there are about 24 Predefined ORACLE exceptions. To handle this exception, you do not need to define it in the progr
PL/SQL Connect Oracle Database 1, IntroductionUse PL/SQL to connect to a remote Oracle database without installing an Oracle database.2, the specific steps:A) Install
Normally, connecting Oracle with PL/SQL developer requires the installation of Oracle client software, which means that your hard drive will take up about 1g-2g of space, and you will have some more boot-enabled services for the Windows operating system. Of course, for most people, you don't apply the database you crea
A code block for the basic introduction to PL/SQLPL/sql: Process language (Procedure Language) and structured language (structured Query Language) A combined programming language is an extension to SQL that supports a variety of data types such as large objects and collection types, using control statements such as
1. Variable
2. Constant
3. Basic program Structure and statement
Pl/sql can reside in both Oracle database servers and Oracle development tools environments. In both environments, the Pl/sql engine accepts any
data.CREATE TABLE author(A_ID Number (8) is not NULL,A_name varchar2 (100),A_age Number (3));CREATE TABLE book(B_ID Number (8) is not NULL,B_name varchar2 (100),A_ID VARCHAR2 (100));Insert into author values (1001, ' Zhangsan ', 40);Insert into author values (1002, ' Lisi ', 30);Insert into author values (1003, ' Wangwu ', 50);CommitInsert INTO book values (2001, ' Think in PL/SQL ', ' 1001,1002,1003 ');Co
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.