How to configure database Oracle

How to configure database Oracle # TNSNAMES. ORA Network Configuration File: C: \ oracle \ ora90 \ network \ admin \ tnsnames. ora # Generated by Oracle configuration tools. www.2cto.com ORACLE90 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL

Oracle exception Propagation

Propagation of oracle exception SQL code www.2cto.com procedure test1 (p_RETCODE in out varchar2, p_retInfo in out varchar2); procedure test2 (p_RETCODE in out varchar2, p_retInfo in out varchar2 ); procedure test3 (p_RETCODE in out varchar2,

Create simple functions in oracle

Create or replace function hello www.2cto.com /**************************** * ***************************** Author: fuqiang WX155924 Version: v1.00 Date: 2013-01-06 Description: move a directory ************************************* * ***************

Learning notes for PL/SQL script language cursor usage

PL/SQL script language cursor usage learning notes (1), cursor usage learning (a), cursor refers to the pointer in a result set, through this pointer movement, we can traverse the entire result set www.2cto.com (B). Use the cursor step (1) Declare

PL/SQL script language loop for while usage learning example

PL/SQL script language loop for while usage learning example (1), loop learning (a), loop www.2cto.com declare -- sum variable I variable 1 .. 100 v_sum number (5); v_ I number (5); begin v_sum: = 0; v_ I: = 1; loop v_sum: = v_sum + v_ I; v_ I: = v_

Questions about index fragmentation collection in Production Databases

Description: Environment: oracle10.2.0.5 RAC + HP-UX use the analyze index validate structure statement to verify the degree of fragmentation of the index, then, we can query through the index_stats view. How much impact does this statement have on

Process control methods in pl \ SQL

In pl \ SQL, the process control method block www.2cto.com Java code declare username varchar2 (20); begin select t. ename into username from emp t where rownum = 1; dbms_output.put_line (username); end; 2 use case when in oracle for Java code

EXP-00091 Exporting questionable statistics Solution

EXP-00091 Exporting questionable statistics solves the problem of EXP-00091 Exporting questionable statistics in our EXP process on Oracle. in fact, it is the exp error message, which is generated because the environment variable where our exp tool

Add the split function to oracle

Add the split function in oracle. CREATE table TYPE www.2cto.com create or replace type "TYPE_SPLIT" as table of varchar2 (4000); 2. create or replace function split (p_list VARCHAR2, p_sep VARCHAR2: = ',') RETURN type_split pipelined is l_idx

Oracle multi-row record merge custom function STRCAT

The problem is as follows:Www.2cto.comActual test conditions: -- create table G_PRODUCT_REL (PRODUCT_ID NUMBER not null, -- Business id PC_ID NUMBER not null -- business category id) SELECT 'insert INTO G_PRODUCT_REL (PRODUCT_ID, PC_ID)VALUES ('| G.

Oracle Study Notes-commands and functions

Oracle learning notes-command and Function Command www.2cto.com usage format Description Example DescDesc table name display table structure Desc bk_bookinfoSet lineSet line n Set the screen output to n characters wide Set line 100LL display SQL

Differences between return and exit in oracle stored procedures

Differences between return and exit in oracle stored procedures create or replace procedure Test5 (o_cellphone in varchar2) is v_cellphone cc_quiz_stat.cellphone % type; v_name cc_quiz_stat % rowtype; v_state cc_quiz_stat.state % type; begin declare

Quick positioning when the oracle system is busy

When the oracle system is busy, quickly locate 1. Check the current number of connections select count (*) from gv $ session; www.2cto.com 2. Here we are the bs architecture, let's take a look at the general situation of the session for the

Restrictions on the Use of sequence objects in Oracle

spl

Restrictions on the Use of sequence objects in Oracle NEXTVAL and CURRVAL are only valid in SQL statements and not directly valid in SPL statements. (However, SQL statements using NEXTVAL and CURRVAL can be used in SPL routines) The following

Common Oracle test table BIG_TABLE

Common tables for Oracle testing: create tables for test using BIG_TABLE, which is often used by DBAs. Generally, many tables are created based on dba_objects. This article is based on the big_table of Master Tom for your reference. Www.2cto.com 1.

[PL/SQL] Using Stored Procedures to export specified data to a file (like EXP)

[PL/SQL] Using Stored Procedures to export specified data to a file (like EXP) Since EXP cannot export specified fields of the TABLE (in fact, you can also use CREATE TABLE tablename AS SELECT... ), so I wrote a storage to implement this function.

Oracle COALESCE Functions

Oracle COALESCE function syntax is COALESCE (expression 1, expression 2 ,..., expression n), n> = 2. The function of this expression is to return the first non-null expression. If both are null, a null value is returned. Note: All expressions must

Oracle NULLIF Function

The Oracle NULLIF function syntax of the Oracle NULLIF function is NULLIF (expression 1, expression 2). If expression 1 and expression 2 are equal, a null value is returned, if expression 1 and expression 2 are not equal, the result of expression 1

8 precautions for Data Guard to deploy the physical standby Database

Eight Important Notes for Data Guard to deploy the physical standby database. These eight points are mainly for deploying www.2cto.com for DG after 10g R2. ① The master database is set to force logging mode [SQL] idle> select force_logging from v $

What Does oracle do when executing commit?

What Does oracle do when executing commit? COMMIT is a very fast operation. When we release the commit command, the really difficult action has been completed and the data changes have been executed in the database, therefore, 99% of the tasks have

Total Pages: 2147 1 .... 1500 1501 1502 1503 1504 .... 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.