Oracle's stored procedures

1. Stored Procedure creationThe syntax for creating stored procedures in Oracle is as follows:CREATE [OR REPLACE] PROCEDUREPro_name[(Parameter1[,parameter2]...)] is| asBEGINplsql_sentences; [Exception] [dowith_sentences;]END [Pro_name]Attention:

Oracle Learning shared pool--hard parsing and soft parsing

The composition of the 1.shared pool (shared pool)3 Block Area: Free cache, library cache, row cacheFree Cache: Idle spaceLibrary cache: Main cache SQL statements and execution plans for SQL statementsRow cache: Data dictionary cacheSELECT * from

Oracle View-built primary key

Sys_guid ()-Unique indexIn Oracle, you can use Sys_guid () to generate a GUID that is equivalent to NEWID () in MSSQL.A project requires a view to build a primary key, here is an example:Ext.: http://blog.csdn.net/myfmyfmyfmyf/article/details/3769473

Oracle Learning SQL statement Execution order

1. Order of execution:Client input SQL statementSQL statements reach the DB instance over the networkAfter the server porcess receives the SQL statementA. Parse the SQL statement into an execution plan before executingB, parsing: Consume a lot of

Oracle 10g Learning 2

I. View tables, fields, constraints, and annotations in Oracle1, (1) see which tables the current user hasSelect table_name from User_tables;(2) View all users ' tablesSelect table_name from All_tables;(3) View all tables including system

Oracle Kanji Pinyin

CREATE OR REPLACE FUNCTION f_pinyin (p_name in VARCHAR2) RETURN VARCHAR2 asV_compare VARCHAR2 (100);V_return VARCHAR2 (4000);FUNCTION F_nlssort (P_word in VARCHAR2) RETURN VARCHAR2 asBEGINRETURN nlssort (P_word, ' nls_sort=schinese_pinyin_m

"Translated from MOS article" defines database service in Oracle stand-alone databases

From:Defining a database Service with a stand Alone Database (document ID 1260134.1)Applies To:Oracle database-enterprise edition-version 10.2.0.5 to 11.2.0.3 [Release 10.2 to 11.2]information in this document applies to any platform.GOALThe

How to delete an Oracle database

1 Click Start to find Oracle directory,--click "Universal Installer", open click "Uninstall Product"2 "Besides Oracle_home1, the others are checked.3 "Click the" Delete "button before you must open the" service "to find all Oralce services, click to

The first time the novice contacted Oracle's encounter with a trigger that could not create an issue

Problem: An error occurred: Unable to create a trigger on the SYS owned objectSolution:Problem exclusion:Question 1, first of all to know that the start is unable to build on the SYS user, first of all to determine the user is now logged into the

A small problem with Oracle's paging query

Order form. Same Order ID as order Information table (multiple order information columns)Find out all orders and their information and page them according to the orderSELECT * FROM (Select a. *, (Dense_rank () over (order by ID DESC)) as Numindex

Execution plan in Oracle-view

The content is mainly from the reading study notes, the following records the common query execution plan method.2.2 How to view the execution plan1.explain Plan2.dbms_xplan Bag3.autotrace4.10046 Events5.10053 Events6.awr/statspack report

Oracle automatically resets sequence using job timing

I. Giving users permission to create and delete sequenceGrant create any sequence to user_name;Grant drop any sequnce to user_name;Second, view job settingsShow parameter JobIf job_queue_processes=0, then update the value to 1alter system set

CentOS6.5 Oracle 11g R2 boot automatically

Modify Oratab under 1.root User (n should be y):[Email protected] ~]# vim/etc/oratab mytest:/oracle/product/11.2. 0/db_1:y2.oracle User modified under:[[Email protected] ~] $CD $ORACLE _home/bin[[email protected] bin]$ vim DbstartFind

Improving the performance of order by in Oracle

1, if order by ColumnA, then add the conditional columna=value in the where query condition, then Oracle will filter order by ordering, directly with the index.2, if order by COLUMNA,COLUMNB, then add the conditional columna=value1,columnb=value1 in

exists and in efficiency issues in Oracle

1) SELECT * from T1 where exists (SELECT * from T2 where t1.a=t2.a);When the T1 data volume is small and the T2 data is very large, the query efficiency of T12) SELECT * from T1 where t1.a in (select t2.a from T2);T1 data volume is very large and T2

ORACLE queries the locked object and ends its session. oracle locks the object.

ORACLE queries the locked object and ends its session. oracle locks the object. What should I do if I find that a table is locked and I don't know who (or which program) is locked when I use Oracle? Two steps: 1. Find the session ID and serial

Explain how to switch between the three modes of Oracle dg and oracledg

Explain how to switch between the three modes of Oracle dg and oracledg Oracle dg Switching ==========================================1 maximum performance mode maximum performance ------ default

The principle and basic configuration of Oracle Dataguard, oracledataguard

The principle and basic configuration of Oracle Dataguard, oracledataguardRecently, the group is working on a disaster recovery solution for the high availability of Oracle. We chose the "maximum performance" mode of DG without affecting the

Introduction to AWR

Introduction to AWR AWR stands for Automatic Workload Repository ). It collects statistics by comparing two snapshots to generate reports in the form of txt or html pages. Generally, the AWR report can be used to understand the system pressure

I just set up 10.2.0.4RAC.

I just set up 10.2.0.4RAC. I just set up 10.2.0.4RAC today. I cannot get up after I shut down and restart it. I'm glad to start filling in the problem: [oracle@rac2 ~]$ crs_stat -t -vName Type R/RA F/FT Target State

Total Pages: 2147 1 .... 1633 1634 1635 1636 1637 .... 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.