The new Win8 x64-bit system was made. You need to use Plsql to connect to the Oracle database. Previous machines fitted with 64-bit oracle11g,plsql can be directly found Oracle_home connected to the database.This time you do not want to install the
1. Right click on "My Computer", select "Manage", select "Service" on the left side of the management window, find the service item about Oracle in the list of services on the right, right click on "Properties" and select "Manual". This will not
RowNum is the sequential numbering of query results by Oracle, with the first row assigning 1, the second row 2, and so on. RowNum cannot be prefixed with the name of any table.RowNum this pseudo field can be used to control the number of record
Connecting oracle 11g r2 asm instances when you start connecting to ASM, the 10G approach is not connected to the ASM connection is idle instance [[email protected] ~]# su - oracle[[email protected] ~]$ export oracle_sid=+asm2[[email protected] ~]
The common Oracle paging query implementation methods are three, respectively, through RowNum, ROWID, or analysis function implementation, this article will be in my Project User_info table of the sub-table as an example, a brief description of the
Maintain online redo log oracle database - enterprise edition - version 11.2.0.4 to 11.2.0.4 1. First look at the size of the current Redo log: [[email protected] ~]$ sqlplus /
--The SQL used to accumulate workThere are also types in Oracle that can be entered as input for stored procedures, functions, and so on.below to see the creation.UsageCREATE OR REPLACE type name as OBJECT(Field 1 type,Field 2 Type,Field 3 Type)For
With SPA, you can play a specific stream based on various types of changes (such as initialization parameter changes, optimizer statistics refresh, and database upgrades)SQL or the entire SQL load, and then generate a comparison report to help you
I. HA
FAILOVER: the technical basis for High Availability of Oracle RAC is Failover, which means that faults of a node in the hot river in the cluster will not affect user usage, the user who connects to the faulty node will be automatically
Unconditional insert
Insert all in Oracle refers to inserting the same batch of data into different tables. If there is a need to insert the data in table t into t1 and t2 separately, if you do not know insert all, you may insert data twice using
[Root @ localhost ~] # Su-oracle[Oracle @ localhost ~] $ Sqlplus '/as sysdba'SQL * Plus: Release 11.2.0.1.0 Production on Tue Apr 22 17:10:52 2014Copyright (c) 1982,200 9, Oracle. All rights reserved.ERROR:ORA-12162: TNS: net service name is
Balance between performance and security
For database optimization, there is no absolute performance and no absolute security. Just as the fish and the bear's paw cannot have both sides, they cannot have both sides, just like the spear and shield.
2014-05-31 BaoXinjian In Capgemini
I. Summary
The character mode Report developed by Oracle Report Builder becomes a system Report.
Advantages
Graphical development is adopted, which is intuitive
Powerful Wizard available
Do not use
Startup succeeded. After a long time, DBA Xiao Li closed his computer and used boiling water to soak himself in a bowl of old altar pickled cabbage noodles. Chinese DBAs prefer to pull curtains and enjoy the unique food in the dark. Senior DBAs
----------------------------- Cryking original ----------------------------------------------------- Please indicate the source for reprinting. Thank you! ------------------------
1. query AWR-related view names
SELECT table_name FROM dba_tables t
1. Create tables and partitions
create table test(IDVARCHAR2(32),MONTHSVARCHAR2(40),USERIDVARCHAR2(20))partition by list(MONTHS) ( partition m201404 values('201404'), partition m201405 values('201405'))
2. Insert data
insert into test values('1'
Oracle case when usage ----- This article is prepared by netizens, 1. The case when expression has two forms:
-- Simple Case FunctionCASE sexWHEN '1' THEN 'male'WHEN '2' THEN 'female'ELSE 'others' END-- Case search functionCASEWHEN sex = '1' THEN
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.