Solution for PL/SQL Developer in Windows 8 64-bit + Oracle 12c 64-bit, window812c1) install Oracle 12c 64-bit2) install a 32-bit Oracle client (instantclient-basic-nt-12.1.0.1.0.zip)Download instantclient-basic-win32-11.2.0.1.0.zip, must be win32 version,
Syntax for building functionsCreate or Replace function name (parameter input or output parameter type) return data typeis return value data type of return valueBeginAction to be done by the functionEndSQL Statement Demo:Create or Replace function My_fun (in_no in number) is Out_name VARCHAR2 (64);BeginSelect Ename to Out_name from EMP where emp.empno=in_no;return out_name;End My_fun;Note: There is no longer end my_fun and end;Function call:DeclareVar_name VARCHAR2 (32);BeginVar_name:=my_fun (73
Invoking Oracle's stored procedures and JDBC operations in Java is similar to the following steps1: Load Driver2: Link database and get a database link object3: Execute statement4: Operation result set5: Close ResourceThe premise is that the stored procedure is written.Create or replace procedure My_procedure isBeginINSERT into EMP (empno,ename) VALUES (9527, ' Tong Pak Fu ');EndJava Program Demo:Import java.sql.CallableStatement;Import java.sql.Connection;Import Java.sql.DriverManager;Import ja
Label: The execution and exception parts of PL/SQL in Oracle I. The executive section of PL/SQL.
An assignment statement.
Assignment statements are divided into two types, one defining a variable and then receiving the user's IO assignment, and the other is a
This article describes how to set the shortcut keys for PLSQL in Oracle databases, including setting MyObjects, remembering the password, and double-clicking the display table by default.
This article describes how to set the shortcut keys for PL/SQL in Oracle databases, including setting My Objects, remembering the pa
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 P
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
Oracle instant client is installed in Linux on the PL/SQL Dev Virtual Machine and Oracle is installed. Since PL/SQL Developer is used in Windows physical machines to connect to Oracle o
to the Tnsnames.ora file. For example, my machine is: d:/instantclient_11_2/network/admin4. Set the language of Oracle, add the environment variable Nls_lang, and the value is simplified Chinese_china. Zhs16gbkAssuming that the Oracle language of the remote database is unclear, SSH or telnet to the remote machine, enter in the command interface, and connect to the database with the command line.SELECT * fr
by Binary_integer; --Defines a PL/SQL table type named mytable; the field type is pl/SQL record type; n Number:=1; tab_1 mytable; --instantiate a Tab_1 object for the mytable type; BEGIN--Assign Value forIinchc_1 Loop tab_1 (n). Empno:=I.empno; Tab_1 (n). ename:=I.ename; Tab_1 (N). Job:=I.job; Tab_
Tags: array rar organization Throw exception build log job schedule exec expressionThis week's book is the Ultimate guide to Oracle's C PL (SQL) programming, published by the mechanical industry press, Sun Fingdong, Wang Yu, Guo Xiaohui.
Content Introduction:
The ultimate guide to Oracle 12c PL/
1. stored Procedures, functions, and triggers are all written in plsql. the process, function, and trigger are in the Oracle database. plsql is a very powerful database process Language 4. stored Procedures and functions can be used to call more Oracle Data in Java. video tutorial: 2.taobao.comitem.htm? Id42922011874spm686.1000925.0
1. stored Procedures, functions, and triggers are written in
Tags: add SQL and article tle specified data javascrip too
Reprint Please specify source: http://blog.csdn.net/dongdong9223/article/details/50728536This article is from "I'm a fish-hook blog."
Connect Oracle using the PL/SQL Developer tool and error when logging in: ORA-12154:TNS:couldnot resolve the co
name after the hostname)2. Oracle Home and OCI libaray configured with PL/SQL developerEnter the PL/SQL Developer in non-logon mode, designate the Oracle home path as the Oracle Client
I uninstalled PL/SQL Developer and compared it with Toad for Oracle.
Previously, PL/SQL Developer was used to manage Oracle, which was inconvenient to use. It is very difficult to open, and there is always an extra box in the upp
1, to use PL/SQL need to install the Oracle client (this is necessary, otherwise plsql will not use, this client can go to Oracle official Web download, called instance client, as far as possible with the newer version on it, The Windows version of the big is more than 50 m, as well as the lite version of more than 20
IamlaosongAlas, the real soil, used toad, has been using dbms_output.put_line debugging stored procedures, only feel inconvenient, with PL/SQL developer, or use this method, online search, just know can be single-step debugging. Learn to use PL/SQL developer debugging featur
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 t
Tags: class name ora information Modify Connection SDN path DACThe 7- bit Oracle database mounted on Win , and then loaded with a three-bit Oracle client, connected with Plsql when Oracle occurs , only user name, password, database fill or select box, there is no "login as" (role) selection box. Solution: 1) Install
1) Install Oracle 11g 64-bit, I use the version:Http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html2) Install the 32-bit Oracle Client (instantclient-basic-win32-11.2.0.1.0) as:Http://www.oracle.com/technetwork/database/features/instant-client/index-097480.htmlDownload Instantclient-basic-win32-11.2.0.1.0.zip (must be 32-bit, do not make the wrong version, th
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.