oracle--Basic Knowledge

One, the difference between Oracle and SQL Server: Category Oracle Sql server Connection string || + Variable Variable name @ Variable Name Initial assignment

ORACLE 11G Learn from scratch-20141208

1.3.6, DuanUsed to store all data of an object in a table space with an isolated storage structure, which consists of one or more zones.1. Data segmentUsed to store all the data in the table.2. Index segmentAll data used to store the index.3.

Deep understanding of Oracle's transactional isolation

In the Oracle relational database, let's take a look at the following question:A transaction: Select from T where ID > Ten and ID B Transaction: Update T Set id = 45000 WHERE id = 4501Two transactions are performed in the following order:A

Oracle creates users, authorizes users, creates tables, queries tables

Original: Oracle create user, authorize user, create TABLE, query tableOracle creates users, authorizes users, creates tables, queries tablesAssuming that all of the oracle10g have been installed and configured.The first step: Win+r, enter run,

ORACLE Chinese column query by Pinyin first letter upgrade version

First of all, the problems encountered,I copied it from somewhere else and I used the error directly because the column contained null data.Later I found that they can only convert Chinese, numbers and letters do not give me back, this is very

When you delete a table record in Oracle, a trigger that is saved to another table

Create or Replace Trigger Delete_sxclgc_triAfter delete on WINF_SV_EX_HYBS_SXCLGCFor each rowDECLAREBeginINSERT INTO Winf_sv_editorial_delete

Oracle CheckPoint Usage

A checkpoint is the writing by the DBWR (database writer), process of all modified buffers in the SGA buffer cache To the database data files. Data file headers is also updated with the latest checkpoint SCN, even if the file had no changed blocks,

JBOSS7 Configuring an Oracle data source

I.. JBOSS7 directory Structure     In JBoss 7, the file system is divided into two parts:1. Standalone Server2. Domain Server (This is the first introduction of JBoss 7)-for unified management of multiple instancesBIN: Contains a startup script to

Oracle-update from explanation

In the update operation for a table, in many cases, you need to refer to data other than the table you want to update in an expression. Like SQL Server provides the FROM clause of the update, you can connect the table you want to update with its

An example of Oracle lock table fault handling

A developer directly on the database server to do the delete table operating system, from the time of the peak operation, resulting in a long time to execute unresponsive, and then shut down the Sqlplus client, run the DELETE statement again,

An Oracle application with AS

With TMP1 as (SelectT. " ID ",T.username,T.productid,T.operateid,T.normalids,T.operatetimeFrom Trsaaa_statisticripedata tLeft join Idsuser T2 on T.username=t2.usernamewhere T.operatetime To_date (' 1970-01-01 ' | | Tz_offset (Sessiontimezone), '

Install the Linux kernel parameters that Oracle needs to tune

When installing Oracle, you need to adjust the kernel parameters of Linux , but what do the parameters mean?Minimum values given in the Linux installation documentation:FS.AIO-MAX-NR = 1048576Fs.file-max = 6815744Kernel.shmall = 2097152Kernel.shmmax

To modify an Oracle database password with a command

1. Change the password(1). Open the Doc Command box type: Sqlplus/nolog(2). Input: Connect/as SYSDBA(3). Change Password: Alter user userName identified by PassWord;(4). Unlock: Alter user userName account unlock;(5). Exit: Exit;2. Open Service(1).

Some useful DBA statements from Oracle

--Query the size and table space of the LOB select A.table_name, A.column_name, B.segment_name, B.segment_type, B.tablespace_n AME, round ((b.bytes/1024/1024/1024), 2) from User_lobs A, user_segments bwhere a.segment_name = b.segment_name ORDER by b.

"Share" Oracle delete duplicate data leave only one message

Query and delete duplicate records of SQL statement 1, find redundant records in the table, duplicate records are based on a single field (ID) to determine the select * from table where Id in (the Select ID from table group Byid having count (ID) > 1

Oracle Logminer Configuration Uses

First, install the Logminer1, @d:\app\product\11.1.0\db_1\rdbms\admin\dbmslm.sql2, @d:\app\product\11.1.0\db_1\rdbms\admin\dbmslmd.sqlSecond, configure the Logminer folderCREATE DIRECTORY utlfile as ' D:\app\oradata\practice\LOGMNR ';Alter system

Oracle NVL, Nvl2, Nullif, decode, case functions

1. Nvl functionNVL (EXPR1,EXPR2), returns EXPR2 if Expr1 is empty;2. NVL2 functionNVL2 (EXPR1,EXPR2,EXPR3), returns EXPR3 if Expr1 is empty, otherwise returns EXPR2;3. Nullif functionNullif (EXPR1,EXPR2), if EXPR1=EXPR2, returns NULL, otherwise

Oracle Current User SQL

Select Sesion.sid,sesion.serial#,Sesion.username,SESION.SQL_ID,Sesion.sql_child_number,Optimizer_mode,Hash_value,AddressSql_textFrom V$sqlarea Sqlarea, v$session sesionwhere Sesion.sql_hash_value = Sqlarea.hash_valueand sesion.sql_address =

Oracle Database lock Table query and unlock Process

Oracle Database lock Table query and unlock ProcessOracle Database lock Table query and unlock ProcessIn Oracle Database Operations, we sometimes use lock table queries and unlock and kill processes. How do we implement these operations? This

Step-by-step explanation of ORACLE (Lecture 3)

Step-by-step explanation of ORACLE (Lecture 3)I. Common oracle system functions1. Date Functions(1) to_date (string, Format) SQL> select to_date('2014-10-11 12:13:14','yyyy-mm-dd hh:mi:ss') from dual;TO_DATE('2014-10-1112:13:14','--------------------

Total Pages: 2147 1 .... 1008 1009 1010 1011 1012 .... 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.