Oracle Database lock table and unlock Process

In Oracle Database Operations, we sometimes use lock table queries and unlock and kill processes. How do we implement these operations? This article mainly introduces this part. Locked Table queryCodeThere are the following forms: Select count (*)

Oracle synonym learning)

Synonym: literally, it means an alias, which is similar to the view function in Oracle Database. Is a ing relationship. You can remotely operate databases. 1. Create a synonym statement: Create public synonym table_name for

How to modify the character set of Oracle 9i to utf8 (Chinese)

1. If Oracle 9i is installed, the default value in the National charset is al16utf16. If you want to change al16utf16 to utf8 Follow the previous method Update SYS. Props $ Set Value $ = 'utf8' where name = ''nls _ nchar_characterset ''; The charset

Some simple usage of substr instr in Oracle

Select substr (memo, (instr (memo, ':',-1,1) + 1) from sfa_order_item where trunc (gmt_modified) = trunc (sysdate) I personally understand some simple subtr usage Substr ('field name', 3) Here it means to extract this field from the third digit

Call the bean in JSP and then call the Oracle stored procedure in bean

Source: Network/Editor: getting started with programming: Unknown When writing a program, a newbie must be brave and patient. If he doesn't understand it, he must read the book, check the information on the Internet, ask his friends,

Materialized views in Oracle

A materialized view is a database object that contains a query result. It is a local copy of remote data or is used to generate a summary table based on the sum of data tables. Materialized View stores data based on remote tables, also known as

Write LOBs data to oracle Database

Create or replace procedure UpdatePhoto (v_id in integer, v_binaryPhoto in blob) isBeginUpdate usersinfo u set u. photo = v_binaryPhoto where u. id = v_id;End UpdatePhoto; /   Using System;Using System. Collections. Generic;Using System.

[Import] common Oracle functions: DateDiff ()

/* -- Function: Convert the string to the year, month, and day format, and delete the time, minute, and second. -- Source: http://jorkin.reallydo.com/article.asp? Id = 529 -- Parameter: Datechar varchar2 -- Oracle9i passed the test */ Create or

Small Oracle function | record down, a lot of use-Good memory is not as bad as a pen head

Single-record functions in SQL1. ASCIIReturns the decimal number corresponding to the specified character;SQL> select ascii ('A') A, ascii ('A') A, ascii ('0') zero, ascii ('') space from dual; A ZERO SPACE------------------------------------65 97 48

Oracle Partition Table

Partition Table:When the amount of data in a table increases, the speed of data query slows down, and the performance of applications degrades. In this case, you should consider partitioning the table. After the table is partitioned, the logical

Oracle dynamic SQL returns a single result and result set

1. DDL and DML /** // *** DDL ***/ Begin Execute immediate 'drop table temp_1 '; Execute immediate 'create table temp_1 (name varchar2 (8 ))'; End; /** // *** DML ***/DeclareV_1 varchar2 (8 );V_2 varchar2 (10 );Str varchar2 (50 );BeginV_1: =

Rebuilding oracle's em

Today, I don't know what's going on. I just took the machine out of the domain and prepared to handle the control of oracle11g. At first, I did not care much about it. I searched for some information on the Internet and followed it. Then I did

Thoroughly uninstall oracle

Common Oracle Database colleagues know that Oracle often encounters some inexplicable errors, resulting in the database cannot be started or used properly. After solving these problems, we found the root cause of the problem, that is, when we

What is the default PLSExtProc listener after Oracle is installed?

# listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\listener.ora# Generated by Oracle configuration tools.SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME =

Install oracle 11g in win7

  To install Oracle, Familiarize yourself with and learn about oracle in advance. Your own system is Windows 7 flagship edition, When installing Oracle 11g Enterprise Edition, The following error is prompted during the "product-specific

Oracle data files (4)

1. DMP file (imp/EXP) The DMP file is backward compatible, indicating that the new version can read the old version of DMP. For DMP file rules: the Export version of the DMP file must be smaller than or equal to the Import version of the DMP file.

An unforgettable assistance in Oracle RAC recovery

Solution Process 1) understand the basic information The previous night, around, shut down RAC, restarted the minicomputer, restarted RAC, and found that four instances in two RAC groups started normally, and the other RAC instances failed to start

Oracle SQL Performance Optimization series (10)

31. Forced index failure   If two or more indexes have the same level, you can force the ORACLE optimizer to use one of them (using it, the number of retrieved records is small ).   Example: SELECT ENAME FROM EMP Where empno = 7935 And deptno + 0 =

Oracle SQL Performance Optimization series (2)

4.Select the most efficient table name sequence (Valid only in the rule-based Optimizer) ORACLEThe parser processes FROMTable name in the clauseTherefore, the base table driving table written in the FROM clause will be processed first. when the

Oracle instance memory (SGA and PGA) Adjustment [to original address: http://log-cd.javaeye.com/blog/562052]

I. Glossary (1) SGA: System Global Area is a basic component of Oracle Instance, which is allocated when the Instance is started. The System fully-local SGA consists of three parts: the Shared Pool, data buffer, and log buffer.(2) Shared Pool:

Total Pages: 2147 1 .... 965 966 967 968 969 .... 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.