Call of oracle stored procedures and functions

Call oracle stored procedures and functions -- create or replace procedure pro_add (num1 number, num2 number, r out number) asbeginr: = num1 + num2; end; www.2cto.com create or replace procedure pro_minus (num1 number, num2 number, r out number)

Example of sequence creation and deletion in Oracle

Create sequence seq_newsIdincrement by 1 start with 1 maxvalue 999999999; select seq_newsid.nextval from sys. dual; Delete sqldrop sequence seq_newsId; www.2cto.com =============================== the sequence used in oracle development is a

When Oracle database is installed, the 0x7c92e514 memory cannot be written.

Decompress the 10__database_win32.zip \ database.zip package of oracle 10g. decompress the package and complete the prerequisites for Oracle Installation. Then, you do not know why a memory error is reported. Then I checked all kinds of information.

Oracle Database Archiving

Oracle databases can be archived in two different ways: NOARCHIVELOG (invalid media recovery) or ARCHIVELOG (effective media recovery ). Database backup and recovery ( http://www.dnew168.com/thread-1708-1-1.html Policy has an important impact.

Basic PL/SQL language

Based on PL/SQL, a pl/SQL block consists of up to four different parts. Only one part is required. block: only named blocks are available, that is, the named functions, stored procedures, and other block names. declaration part: defines variables,

Basic oracle backup and restoration knowledge literacy

Definition of basic oracle backup and restoration knowledge literacy backup. The fundamental purpose of backup is to restore. If needed, it can be recovered, that is, backup. For example, archive log file is a backup of online redo log file. The

Oracle (8) view

Differences between the oracle (8) view and table. the table needs to occupy disk space, and the view does not need B. view cannot add index c. you can use the view to create complex queries, for example, Student Course Selection System d. view

Special display of query results for oracle tree data structures

The query results of the oracle tree data structure are displayed with a database table structure design: www.2cto.com create table DEPT (id number (9) primary key, -- department IDNAME VARCHAR2 (100 ), -- department name PARENT_ID NUMBER (9) --

How to Create Foreign keys in non-default mode in Oracle

How can I create a foreign key constraint in Oracle using a non-default method? If the Oracle default creation method is used, the referenced data cannot be deleted, this gives us more flexible options in Oracle9i, however, we use the on delete

Recovery of lost data files after normal Shutdown Without backup in the Archiving mode of the rman Experiment

There is no backup in the Archiving mode of the rman experiment. Recovery of lost data files after normal shutdown does not allow direct recovery of lost data files, such as system. Not all data files need to be recovered, for example, temp

Oracle Database new installation connection string

Oracle Database new installation connection string problem cutover newly installed database, Client Login no problem, apache/cgi-bin program problems, sqlnet. the log is as follows: Fatal NI connect error 12170. version information: www.2cto.com TNS

Oralce common SQL functions (5) Aggregate functions

Oralce common SQL functions (5) before using aggregate functions, we need to first understand the concept of "grouping". One of the problems we encounter in our work is grouping the retrieved data.The syntax structure of grouping is very simple,

Summary General SQL optimization steps

1. Use top SQL to find the problematic SQL statement select * from (select * from v $ sqlstats order by DISK_READS desc) where rownum 'jsonbi', TabName => 'product', Estimate_Percent => 0, Method_Opt => 'for all indexed columns size 1', Degree => 4,

Import and Export physical backup of Oracle databases

How can I ensure that the system can be restored to the last submitted state by importing and exporting the physical backup of the Oracle database, it must be based on physical backup, and archive logs and redo logs accumulated since the last

Paging processing of oracle stored procedures

Oracle Stored Procedure paging processing knowledge point link 1. oracle Paging2. Use cursor to create a stored procedure [SQL] -- create a stored procedure (startpoint start point, number of getnum retrieved) create or replace procedure copylimit

PLSQL configuration login user information

PLSQL is often used as the Oracle client to configure login user information. It may be cumbersome to manually enter the user name, password, database name, and other information without configuration. In fact, we only need to set it in the PLSQL

Execute system commands in oracle

Environment for successful oracle Command Execution test: windows XP + oracle 10g, windows 2008 R2 + 11g code is as follows: www.2cto.com SQL code create or replace and compile Java Source named "OSCommand" as -- java: OS COMMAND import java. io. *;

Oracle and mysql random numbers

ExercisePaperDAOImpl // query the training memory questionsPublic List findTTMemory (int userid, int ttid, int ttgid) {String SQL = "select * from tbTTrainMemory where userid =? And ttid =? And ttgid =? Order by dbms_random.value "; Object [] args =

Oracle read/write file documentation

Create table Java code create table blobdata (www.2cto.com OID decimal (22) primary key not null, DATA blob ); create directory and process Java code CREATE or replace directory doc_loc as '/tmp'; create or replace procedure Load_BLOB_From_File

Oracle note (2) SQLPlus command

Oracle note (2) the SQLPlus command mainly uses the command line method for Oracle database operations, and all commands are completed using sqlplus. There are two forms of sqlplus. One is dos-style sqlplus: sqlplus.exe; the other is windows-style

Total Pages: 2147 1 .... 2086 2087 2088 2089 2090 .... 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.