Common Oracle SQL

Tablea Columna columnb A 1 & 2 SSS   Select * from a where Columna like '% 1 & 1000'; ------------------ the system prompts you to enter a variable. What if I want to query SSS Based on the clomna value? Analysis: & is a variable character

Use pl SQL developer to connect to a remote ORACLE Server without installing the Oracle client (Green Oracle client)

  Recently, you may need to connect to a remote ORACLE Server. Although many tools can be connected, such as dbvisualizer and navicat, it is well known that, pl SQL developer is incomparable to any other tool in Oracle operations. In addition,

Oracle disk Analysis

-- You can periodically use the results of DF-h to input an External Log File, and then use Oracle's "External table" to access this "External Log File". For example: -- Step 1: write a script to regularly insert disk information into the log file: [

Oracle system table list (to be improved and modified)

Reprinted from: http://www.iteye.com/topic/82587   The data dictionary dict always belongs to the Oracle user SYS.1. User:Select username from dba_users;Change PasswordAlter user spgroup identified by spgtest;2. tablespace:Select * From

Oracle job creation, Oracle Exception Handling

Run the command in the Command window. Variable names after variable must be the same as those after job =>: job. Otherwise, the error "Not all variables are bound" will be reported. After successful execution, the job number is automatically

Oracle data migration File

Once all the datafiles were on one disk, resulting in a dramatic increase in Io. Now we divide datafile into three hard disks (due to the large data size, we only consider dividing the data equally without moving the index ). 1. First view the

How to Create dblink in Oracle

1. To create a global dblink, you must first confirm that you have the permission to create a dblink: Select * From user_sys_privs where privilege like upper ('% database link % ');   If not, you must use the sysdba role to grant permissions to

How to Use PLSQL developer without installing Oracle client

1. Download the Oracle client package (30 m) You only need Oracle can download a software named Instant Client package. This software does not need to be installed and can be used as long as it is decompressed. It is very convenient and can be used

Oracle hidden parameters: _ undo_autotune, a thankless Activity

Although talking about hidden parameters must be meaningless, but those hidden parameters are valuable, we have to "respect" those hidden parameters" In Aum, why does my undo tablespace only grow and does not recycle it? Now it's more than 40 GB

Han shunping: Oracle PL/SQL lecture notes 1

Make the program a soul By think 1 What is PL/SQL? Procedures, functions, and triggers are written in PL/SQL. The process, function, and trigger are in the Oracle System tablespace. PL/SQL is a very powerful database Procedural Language The function

Han shunping: Oracle PL/SQL Lecture Notes II

This is the 25th lecture, mainly about the basic understanding of blocks and processes. 1. One of the simplest blocks:Set serveroutput on -- open the output option. If it is off, put_line () has no output.BeginDbms_output.put_line ('hello

Oracle inspection tool: RDA Introduction

(I) download and decompress RDA: Click to download [oracle@localhost vmshare]$ gunzip rda_4[1].1-051205.tar.gz[oracle@localhost vmshare]$ tar -xf rda_4[1].1-051205.tar[oracle@localhost vmshare]$ cd rda[oracle@localhost rda]$ lsDISCLAIM.txt

[Oracle world first-class citizen view] understanding v $ segment_statistics

InWhen Sr is sent to Mos, how does v $ segment_statistics update it? ORACLE: V $ segment_statisitcs has been used for internal research since 9ir2 was introduced] (I) first look at the table structure: Sys @ orcl> DESC v $ segment_statistics

Two features and misunderstandings of Oracle roles

Two features of a role 1) role DelayDelayed How to enable the role to take effect immediately:Set role name;For example:Set role resource;Delay recoveryThe following experiment demonstrates the delay recovery:Session (1) SCOTT:Sys @ orcl> conn Scott/

Oracle tool: tkprof

    1 Definition An executable tool used to analyze Oracle tracking files and generate clearer and more reasonable output results as needed   2 preferences F:\>tkprofUsage: tkprof tracefile outputfile [explain= ] [table= ] [print= ]

Understanding Oracle rowid

When data is stored in a data file, its attributes are determined by the storage. These attributes include: in which data file? Which object does it belong? Where is the data block? Row number? These attributes are combined to form the rowid of

In-depth understanding of Oracle optimizer (3): Dynamic sampling

Statistics of dynamic sampling are not recorded in the view, and sometimes the tables that have been analyzed are also evaluated. It is effective for CBO because RBO does not need statistics, so dynamic sampling is meaningless. (I) Role of dynamic

In-depth understanding of Oracle optimizer (1): Skew and histograms

(I) histograms Column chart? Histogram? Actually, these two concepts are called here by think directly using histograms. Histograms can be understood as the density and range of the approximate distribution of values in a column) In general, CBO

In-depth understanding of Oracle indexes (23): Six common causes of No-index Removal

Sometimes, very depressing, ah, what's going on ah, don't take the index, If you find that you do not leave the index, but do not rashly impose your own will, You have to give a reason, do a test first, prove/false take index practical

Temporary tablespace group for Oracle temporary tables (TTG)

Environment: sys@ORCL> select * from v$version;BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProdPL/SQL Release 10.2.0.1.0 - ProductionCORE 10.2.0.1.0

Total Pages: 2147 1 .... 1221 1222 1223 1224 1225 .... 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.