One of the Oracle Handbook Series: Hierarchical Queries)

1) Prepare test data   If you have less time to talk, go straight to the subject. Create a simple employee table t_hierarchical: |-Emp employee ID |-Direct superiors of Mgr employees (Mgr itself is also an employee) |-Emp_name: employee

A simple method to test oracle pressure

  Today, I made a simple test of database pressure and shared something. Server Status:   Operating system version: CentOS 5.6-64 Cpu: Intel (R) Xeon (R) CPU X5660 @ 2.80 GHz * 24 Memory: Mem: 16425876 Swap: 32764556 Database Version:

Oracle sequence usage: Create, delete, and use

  Before you begin to explain how to use the Oracle sequence, add "/" to the use of Oracle client sqlplus, that is, if you execute multiple rows of statements, you must add "/" to end the statement and execute it! The topic of this article is to

Oracle basic data type --- (string)

Oracle string format First, we will introduce the char (N) and Varchar2 (N) formats.Create table TEST_CHAR(CHAR_COL CHAR (10 ),VARCHAR_COL VARCHAR2 (10 ),);SQL> insert into test_char (char_col, varchar_col) values ('20140901', '20160901 ');SQL>

Linux Kernel Parameter and Oracle Parameter Adjustment

Linux Kernel Parameter size and Oracle has a large shutdown, such as ORA-27102 error, is caused by improper Kernel Parameter size. For details, refer to Blog:Upon startup of Linux database get ORA-27102: out of memory Linux-X86_64 Error: 28: No

Orcale entry command

[Java]Orcale entry commandBasic commands:1. the spool command is used to screen recording in sqlplus.Spool c: \ 1.txt automatically creates 1.txt, screen recording Spool c: \ 1.txt appendAdd to 1.txt 2. conn system/orcl switch user connection3. --

How to view users, permissions, and tablespaces in oracle

Oracle view users, user permissions, user tablespaces, user default tablespaces 1. view the relationship between users and default tablespaces. Select username, default_tablespace from dba_users; 2. view the table of the current user: select

Various Oracle Connection Methods

The most effective way to understand the various Connection Methods of Oracle is "". In practice, we should have a deep understanding of the concepts and effects of inner connection, left outer connection, right outer connection, and full outer

Summary of ORA-12838 errors

ORA-12838: cannot read/modify a object after modifying it in parallelThis error occurs during the call process. After query, it is because the append insert operation is not submitted in time during the process. The exact explanation for this

Typical ORA-12547 error handling

ORA-12547 error handling this morning around, the leaders told me, let me help a colleague to ORACLE Installation, he encountered problems in the installation process, error, unable to continue to install. I. Due to the NLS_LANG setting error, cause

Oracle SQLServer MySQL

Oracle SQLServer MySQL view all current database table names and other information environments: Oracle 11g + SQLServer 2008 R2 + MySQL 5.1 Oracle: 1. view All data tables in the current database [SQL] select * from all_tables; select table_name

Oracle 11g error ORA-28000 the account is locked

Oracle 11g error ORA-28000 the account is locked I. the cause and related factors of this error are caused by the default setting of "PASSWORD_LIFE_TIME = 180 days" in the default profile in oracle11g, there is a password expiration problem in

Oracle splits strings into arrays and traverses the arrays to insert them into the table.

Oracle splits strings into arrays and traverses the arrays to insert tables. 1. defines a custom TYPE, create or replace type ty_str_split is table of VARCHAR2 (4000 ); 2. Define a function create or replace function fn_split (p_str IN VARCHAR2,

ORA-14048: partition maintenance operations cannot be combined with other operations

ORA-14048: partition maintenance operation cannot be combined with other operations today fannairu students imported database error, prompt: IMP-00017: Due to ORACLE error 14048, the following statement failed: "alter index" SYS_C009967 "unusable

The Oracle database fuzzy query statement is a result that is easy to ignore: the problem of empty records

The Oracle database fuzzy query statement is easy to ignore: the cause of the null record problem: the SQL statement is as follows: select count (*) from test; the result is 1390. select count (*) from test where bb not like '% disable %' result 393.

Usage and significance of temporary Oracle tables

Explain several usage and significance of Oracle temporary tables can be said to be a good way to improve database processing performance, when there is no need to store, only stored in the Oracle temporary tablespace. I hope this article will help

Why is this Oracle function with parameters not input? -- The truth has finally surfaced"

Why is this Oracle function with parameters not input? -- The truth is that there are two tables in my Oracle Database: emp (employee table) and dept (Department table). The table structure is as follows: the table www.2cto.com Emp is as follows:The

Oracle group functions and group statistics

Group functions and group statistics in Oracle 1. commonly used group functions in SQL include COUNT (): obtain the number of all records -- SELECT COUNT (empno) FROM emp; MAX (): obtain the maximum value in a group -- select max (sal) FROM emp; MIN

Oracle rman automatic backup script

Oracle rman automatic backup script #! /Bin/sh. /opt/oracle /. bash_profilePWD_SYS = "/" BAK_DIR = "/opt/oracle/backup/oatest" BEGIN_SEQ =$ (sqlplus-s $ {PWD_SYS} 'as sysdba' /opt/oracle/backup/oatest/backup_rman.log 2> & 1 & 

How to change the password of ASM sys

How to modify the sys password of ASM. Note that the sys password of asm is different from the db password. 10g: WINDOWS: orapwd file = /database/PWD . ora password = UNIX: orapwd file = /dbs/orapw password = although the password file can be

Total Pages: 2147 1 .... 891 892 893 894 895 .... 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.