System environment:CentOS Release 6.7 (Final)Oracle Database 11g Enterprise Edition Release 11.2.0.4.0-64bitOperation Process:1. When you add a data file or create a tablespace, you specify the path as a single-node localSql> alter tablespace users
Preparing heterogeneous Ortacle ServersAdd the hosts record for the relevant server.Install the NBU Client Agent.Install the same Oracle software version.Create the same administrator account and password.Create an Oracle instance with the same name
Oracle:1. Get the current date of the year, month, day, time, minute, secondSelectTo_char (Sysdate,'yyyy') asNowyear fromDual//get the year of the time SelectTo_char (Sysdate,'mm') asNowmonth fromDual//get the month of the time SelectTo_char
: Network Disk DownloadContent EssentialsThis book is written for Oracle 11g, the latest large database management system from Oracle, and the basics of Oracle are presented in a circular, progressive way. Its content includes four parts: Basic
Oracle Flash Back Technology1.Flashback Database2.Flashback Drop3.Flashback Table4.Flashback Query1.Flashback Database (recovery with flashback log)Description: The Oracle Flashback database feature allows SQL statements to be Flashback to databases
Follow the steps below to adjust the memory1. Sqlplus/nolog2. Conn/as SYSDBA3. Show parameter target4. Show Parameter SGAAlter system set SGA_MAX_SIZE=512M Scope=spfile;Alter system set SGA_TARGET=512M Scope=spfile;5. Show parameter memoryalter
1.ASCII returns the decimal number corresponding to the specified character;Sql> Select ASCII (' a ') a,ascii (' A ') a,ascii (' 0 ') zero,ascii (') space from dual;A A ZERO SPACE--------- --------- --------- ---------65 97 48 322.CHR gives an
Do not know what to do, the data sheet locked, unable to update.Baidu has a variety of methods, summarized as follows.Check the locked table (two sentences are available):SELECT * from v$session T1, V$locked_object T2 where t1.sid=t2.
Transferred from: http://www.hellodb.net/2009/12/hash_partition.htmlIn the interview often ask a question, please list the hash in the database internal application, the principle of hash is simple, but it can be said in the database is everywhere.
Copying tables-- Copying Tables Create Table as Select * from Product-- duplicate table structure no data Create Table as Select * from where 1 = 2Following a condition that is not established in the where, only the structure of the table is
Problem:Statement 1:SELECT * FROM table1 A where a.col1 not in (Select col1 from Table2 B)Reprint Annotated Source: http://x-spirit.iteye.com/, http://www.blogjava.net/zhangwei217245/If so, there should have been a piece of data, the result is
User ManagementAuthentication: AuthenticationAaa:Authentication: AuthenticationAuthorization: Rights ManagementAudition: AuditGrant: Authorizationunset: Undo (Eliminate)Sql>echo $ORACLE _sid ORCL query database is named ORCLSql>vnset ORACLE_SID
Restore 0.92 database to 1.92, restore time July 131. Query the required control log7-2-7-4 -r-b-L "CNT "(2nd, 3 steps can be parallel)2. Start restoring the control fileAccess to Rman, database up to nomount use Backup files to control file
Grouping Functions , multi-line functions Summary of non-null dataOnly Lieri the null value first.Grouping is not requiredSql> Select COUNT (*), sum (Salary), AVG (Salary), min (Salary), Max (salary) from employees;sql> CREATE TABLE t1 (x int);sql>
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