Example of using cursors to return result sets (Oracle stored procedures)

Oracle| Stored Procedure | cursor in the Sqlplus to establish the following content: 1, Package sql> Create or Replace package types 2 as 3 type CursorType is REF CURSOR;  4 End; 5/ The package has been created. 2, function sql>

Java Connection Oracle Database

oracle| Data | database import Java.net.URL; Import java.sql.*; public class Javaoracle { Public Javaoracle () { } public static void Main (string[] args) { Try { try{ Class.forName ("Oracle.jdbc.driver.OracleDriver"); } catch

Oracle Database Undo Management

One, undo tablespace and Rollback segment 1, the main role of the undo section (1) Transaction rollback (2) Transaction recovery (instance recovery, using rollback to recover uncommitted data) (3) Read consistency (construct CR) (4) Flash back

How to create an account change function in Oracle

CREATE OR REPLACE FUNCTION fun_account_change (headobject in Ebsheadobject,           &NBS P                inaccountno in Pub_account_info. Accountno%type,                           INACC Ounttype in Pub_account_info. Accounttype%type,          

How to troubleshoot sorting and efficiency issues in Oracle paging queries

This article will combine the author's recent work, in the Oracle database paging query, encountered a small problem, for you to explain how to solve the Oracle paging query sorting and efficiency issues. The original paging query SQL code is as

Characteristics of Oracle Transactions

ACID, an abbreviation for the four basic elements that a database transaction performs correctly. Contains: atomicity (atomicity), consistency (consistency), isolation (isolation), persistence (durability). A support transaction (Transaction)

Java and Oracle stored procedures (ii)

In a previous article that briefly describes how Java programs invoke the basic syntactic structure of Oracle stored procedures, this article introduces another Java-Oracle relationship, that is, writing Oracle stored procedures through Java.

Using Ado.net to access Oracle 9i stored procedures (top)

This article discusses how to use ado.net to access Oracle stored procedures (called SQL programming Blocks) and functions (a programming block that returns a single value). You can connect to an Oracle database using the following managed data

Shutdown of Oracle 9i servers

The process of 3.5.1 server shutdown The system completes the following steps when you close the database routine. 1. The first phase Oracle writes the contents of the buffer to the redo log file. Writes the changed data in the database buffer to

Management of Oracle 9i profiles

To create a profile in Enterprise Manager (1) as shown in Figure 8.26. (2) The General Information tab of the Create profile as shown in Figure 8.27 appears. (3) Figure 8.28 shows the Password tab to create the profile. (4) The interface appears

Oracle 9i View

What is a view A view is like a window in a datasheet, after an administrator defines the location of the windows, the user can only view the data that he can see. A view is not a datasheet, it is just a collection of SQL query statements that

Launch Weblogic+oracle Paging

oracle|web| pagination Import java.sql.*; Import java.util.*; Import weblogic.db.jdbc.*; public class Bandlistbean { Private String driver; Private String Dburl; Private Bean2 b=new Bean2 (); Public Bandlistbean () { Globalbean globalstr = new

Using Java to fetch numbers from Oracle

Oracle/* drop table varray_table; Drop type Num_varray; CREATE TYPE Num_varray as Varray of VARCHAR2 (12) / CREATE TABLE varray_table (col1 num_varray); INSERT into Varray_table VALUES (num_varray (' Hello ', ' abc ')); SELECT * from Varray_table;

Small example of calling Oracle stored procedures in a JSP

The following examples of js|oracle| stored procedures are transferred from the CSDN forum: * Execute an INSERT statement and pass the parameter * * Create or Replace procedure P_test2 (i in number) as Begin INSERT into t values (I, ' X ' | |

Some questions about developing Java under Oracle

oracle| problem I didn't want to write a tutorial like this, because since it's called a tutorial, it's going to be a history test, and for me, a rookie programmer, I just like to share some of my own experience. Can not be a method, irrelevant to

Oracle issues, 10 questions per day (ii)

oracle| problem 11. How to get trigger, procedure, function creation script? Desc User_source user_triggers 12. How to calculate the size of the space occupied by a table?   Select Owner,table_name, Num_rows, blocks*aaa/1024/1024 "Size M",

Simple to improve query statistics for Oracle databases

oracle| Data | database | speed | Statistics are often used in large database systems, but for large data systems, users often feel slow to perform complex query statistics and can not meet application requirements, which requires us to design the

UNIX Oracle 10g can use UTL

oracle|unix| Data can unix Oracle 10g read file data with Utl_file packets? I am under Window Oracle 8i using Utl_file can read the data of text files, I test through, But not on Unix Oracle 10g! Error! Begin Loadfiledata (' D:\ora ', ' 1.txt ');

[Oracle 10g] Tablespace renamed

Oracle [Oracle 10g] tablespace renamed Author: fenng Date: 24-oct-2004 Source: Http://www.dbanotes.net Version: 0.1 Simple Introduction In previous versions of Oracle 10g, changing tablespace names was almost impossible, unless deleted, recreated,

substitution for NULL in SQL Server, Oracle, and MySQL

What happens when SQL Server Oracle MySQL detects that a value is null in the database? 1, Mssql:isnull () Grammar ISNULL (Check_expression, Replacement_value) Parameters Check_expression An expression that will be checked for null.

Total Pages: 2147 1 .... 649 650 651 652 653 .... 2147 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.