In the Windows enterprise operating system, uninstall Oracle 9i:
1. Stop all Oracle services
2. Delete All Oracle items in the Registry
(1) Delete the Oracle directory under HKEY_LOCAL_MACHINE \ Software
(2) Delete All Oracle items under
After oracle is installed, there will be many default users. How can this problem be solved?
Anonymous, ctxsys, Dbsnmp, HR, MDSYS, ODM, middleware, Oe, olaosys, ordplugins, ordsys, outln, PM, pblic, QS, qs_adm, qs_cb, qs_es, qs_ OS, qs_ws, RMAN,
When you use rollup or cube for group operations, fields with null values are generated, then, how can we tell whether the field itself is null or generated by rollup and cube?
In this case, grouping (groupingfield) can be used to solve the
Mos documentation describes the upgrade Route:
Complete check list for manual upgrades to11gr2 [ID 837570.1]
Maclean's Blog contains several more intuitive images:
Create a temporary Oracle table
CREATE GLOBAL TEMPORARY TABLE TABLENAME (COL1 VARCHAR2(10),COL2 NUMBER) ON COMMIT PRESERVE(DELETE) ROWS ;
This temporary table does not occupy the tablespace, and the data of the other table cannot be seen between
I want to use the Oracle database to update data when I was building an ASP. NET Website. The fields in the table include int, string, and date. net front-end controls always encounter problems when binding updates. I checked a lot of things online
We often use Oracle to create and delete users. The following describes the implementation process of Oracle to create and delete users in the form of instances. We hope this will help you.
Create a user instance in Oracle:
First, use the Sys user
SQL ************************************* **********Create Table AA(A_id number (10) primary key,A_name varchar2 (50 ),A_sex varchar2 (4 ),A_date date,A_money number (8, 2))-- Check whether the operation is successful.Select * from AA;-- Create a
Oracle8
Select a. *, B. * from a, B where a. ID (+) = B. ID -- equivalent to right join
Select a. *, B. * from a, B where a. ID = B. ID (+) -- equivalent to left join
Oracle9Supports the above writing, and also adds leftjoin, right join,
1. Remove the power of the priv network switch. rac2 reboot and Rac1 work normally.
[Oracle @ mesdb01 ~] $ Crs_stat-T
Name type target State host
------------------------------------------------------------
Ora. Mes. DB application online
I. Description
Previous instructions:
Oracle cross-operating system migration
Http://blog.csdn.net/tianlesoftware/article/details/7252788
Oracle cross-operating system migration
Http://blog.csdn.net/tianlesoftware/article/details/7252788
Oracle
1. Description of the default tablespace
In Oracle9i, if you do not use the default tablespace clause, all users will use the system tablespace as their default tablespace. You cannot specify a default tablespace for the database.
The
Read consistency ensures that the query results are consistent with the data at the time when the query is initiated, regardless of whether other transactions have changed the data during the query.
Assume that we have the following function to
Rollup will gradually remove a field on the right from the right to the left Based on the field following group by, and gradually sum up,
Cube sums all the combinations of fields after group.
Cube eg1:
Select department_id, job_id, sum (salary)
Chapter 6: load data
1.loading data using direct_load insert
sql> insert /*+append */ into emp nologging
sql> select * from emp_old;
2.parallel direct-load insert
sql> alter session enable parallel dml;
9.Simple Integration,No associated database access
If you have several simple database query statements, you can integrate them into a single query (even if there is no relationship between them)
For example:
SELECT NAME
FROM EMP
WHERE emp_no. = 123
Oracle Materialized View
The materialized view is like a real table for front-end database users. It has operations such as select that are similar to General tables, but it is actually a view, A view that is regularly refreshed by the system (the
Select a. tablespace_name, a. bytes bytes_used, B. largest, round (a. bytes-B. bytes)/a. bytes) * 100,2) percent_usedFrom (select tablespace_name, sum (bytes) bytes from dba_data_files group by tablespace_name),(Select tablespace_name, sum (bytes)
13.Calculate the number of records
In contrast, count (*) is slightly faster than count (1). Of course, if you can search by index, the index column COUNT is still the fastest. For example, count (EMPNO)
(Press:In CSDNForum,I have had a very
Recently, we found these strange table names in oracle. After searching online, we found that it was the oracle10g recycle bin function. Instead of deleting the table completely, we put the table into the recycle bin, at last, a bunch of strange
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