Oracle checks the locked table and unlocks it

Address: http://tech.e800.com.cn/articles/2009/710/1247207067745_1.html   Solution 1: Check which table is locked Select sess. Sid, sess. Serial #,Lo. oracle_username, Lo. OS _user_name, ao. object_name, Lo. locked_mode FromV $ locked_object Lo,

Auto-start in Oracle Linux

The content of this article mainly comes from: http://lbyzx123.javaeye.com/blog/829235   1. Create the script file Oracle10g under/etc/init. d/with the following content:   #! /Bin/bash # Whoami # Root # Chkconfig: 345 51 49

Windows7 64bit Oracle 11g PLSQL error initialhation orrlr sqk * Net properly installed

Cause: compatibility issues Download instantclient-basic-win32-11.2.0.1.0 client: http://download.csdn.net/detail/chensirbbk/4411719 Solution: 1.Install a 32-bit Oracle client on a 64-bit machine. Instantclient-basic-win32-11.2.0.1.0 (note

Oracle creates a table that automatically adds a primary key

Oracle creates a table that automatically adds a primary key // creates a table Create Table T (Pk Number Primary Key, name varchar2 (20 )); // Create a sequenceCreate sequence t_seqIncrement by 1Start with 1 maxvalue 999999999; // Create a

Create and authorize users in Oracle

1. Log On with the system and SYS accounts 2. Create a userCreate User Username identified by PWD default tablespace users;Create username, password PWD, and allocate table space. 3. Authorize a userGrant connect, resource to username; (other

C # how to insert date data to Oracle databases

If the Oracle database table contains a Date Field, assume that the field name is time, the date to be inserted is now, now is in string format, and the value is "1900-01-01 ", the following statement fails to insert data: String. Format ("insert

In-depth analysis of ORACLE data block principles

  Oracle data block principle in-depth analysis of data blocks (Oracle data blocks), referred to as blocks in this article, is the smallest storage unit of Oracle, Oracle data is stored in the block. A block occupies a certain amount of disk space.

Oracle tablespace type

TablespaceCan be classified in four ways 1. data files are classified: Big file tablespace)This is10gNew FeatureSmall file tablespace (smallfile tablespace)This is the default value during creation. Advantages of large file tablespaces include:

Oracle Character Set Problems

Front-end UI process (written in vc6) to UTF-8 Chinese to back-end serviceProgram(Linux GCC). The data is written to the Oracle database in the background, and then the data is retrieved and displayed in the background. No encoding/decoding

Differences between MySQL and Oracle

1. Automatically increasing data type ProcessingMySQL has a data type that increases automatically. When you insert a record, you do not need to operate on this field. The data value is automatically obtained. Oracle does not have an auto-increasing

A simple example of full-text retrieval in Oracle

1. =========create text index authorization for mode with document tables === Connect to the database as a system user and authorize zyfileup. Grant "ctxapp" to "jdcdc ";Alter user "jdcdc" default role all;Grant execute on "ctxsys". "ctx_adm" to

Oracle 11.2 command line manual and simplest database creation process

Oracle 11.2 command line manual and simplest database creation processThe process of manually creating a database using the command line Environment: RHEL 5.4x86, Oracle 11.2 1. Set Environment VariablesEdit in/home/Oracle#. Bash_profile # Get the

How to retrieve accidentally deleted data in Oracle

When my colleague retrieved the database, it was Oracle 10 Gb. The previous deletion method was Delete. I do not know whether to use trancate. The SCN (System Change number) is spelled as system change number, which is a very important data

Use of functions and views in Oracle

Functions are the same as functions and views in SQL Server classification. -- Search fields to be set: expertname, expertdomain, hitcountsdata, workhistory, eduhistory, projecthistory, award, researchpaper, researchpapermonograph, expertallinfo--

Common Oracle operation commands summarized by yourself

IMP username/password file =/home/newbak. DMP full = y imp alpha/123456 file =/home/db20120308.dmp full = ysql> grant create user, drop user, alter user, create any view, drop any view, exp_full_database, imp_full_database, dBA, connect, resource,

Oracle cold backup and cold recovery

Description 1. parameter descriptionCold_back_dir: Cold Backup DirectoryScript_file: the path and name of the batch file generated by this CodeLOG_FILE: path and name of the backup log fileInt_pwd: password of the internal userSave the generated SQL

How to permanently delete Oracle

Software environment:1. Windows 2003 + Oracle 9i 2. Oracle installation path: C:/Oracle Implementation Method:1. Start-> Settings-> Control Panel-> management tools-> servicesStop all Oracle services. 2. Start-> Program-> Oracle Installation

Auto-increment of primary key using a trigger in Oracle

Generate primary key values using sequences. Sequence is a database object that can be used by multiple users to generate a series of unique numbers. Sequence definition is stored in the data dictionary. You can use sequence to automatically

Simple implementation of ASP. NET File Download (you can also directly read database large field files, such as Oracle Bolg, long raw and other large field files)

The following is the Code implemented by myself, which is also the answer found through the network, so do it well to share it:   Daobean = new daobean (); // Database handler classString SQL = "select pic from tz_photo"; // read large field files,

Batch import data to Oracle databases

SQL * loader is large dataRepository selection method, because it provides the fastest way (direct, parallel ). Now, let's leave aside its theory and use instances to makeYou can quickly learn how to use SQL * loader.First, let's get to know SQL *

Total Pages: 2147 1 .... 1566 1567 1568 1569 1570 .... 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.