Employees table:
Department Table:
Select E.last_name,e.department_id,d.department_name
From Employees E
LEFT OUTER JOIN Departments D
On (e.department_id = d.department_id);
Select E.last_name, D.department_name
From Employees e,
28.2.4 Install Oracle 11g
Oracle 11g provides a graphical installation interface that allows users to complete the installation process by moving and clicking the mouse. The specific installation steps are shown below.(1) Extract the Oracle 11g
C:\>set Oracle_hostname=kingsrv
C:\>emca-config Dbcontrol DB
EMCA started in 2007-3-19 12:04:13EM Configuration Assistant 10.2.0.1.0 Official editionCopyright (c) 2003,%, Oracle. All rights reserved.
Enter the following information:Database
The comment on command in Oracle is used to describe the table or field, and the syntax is as follows:
COMMENT on
{TABLE [schema.]
{table | view}
| COLUMN [schema.]
{table. | view. | materialized_view.} Column
| OPERATOR [schema.] OPERATOR
|
First, cold backup
The process by which the database completes copies of all physical system files in the shutdown state, also known as offline backup
Suitable for non-archive mode, the database is in a consistent state
Second, the steps
First you
Oracle Cluster (RAC) startup and shutdown
The following points need to be noted when Oracle RAC starts and shuts down:
First, check the shared device
Second, automatically start RAC and check related processes
Third, manually start RAC
In the
The Al32utf8 character set is not a (display/input) language character set, is a character set for storage and supports the world's leading language encoding.
Al32utf8 is a superset of ZHS16GBK.
The Nls_lang should be set to the language
(1) Initialization of passwordSYS Change_on_intallSystem ManagerScott Tiger(2) Copy a tableCREATE TABLE new_table as (SELECT * from old_table)(3) Modify the primary key of a tableALTER TABLE tablename DROP constraint a_pk;//Delete original PRIMARY
The bitmap index of the 1,oracle database (Bitmap index) is indeed for those fields that are sparse (low-cardinality, low cardinality), but one thing to keep in mind is that it is for fields whose values do not change frequently. In practical
First, locate the database failure reason.
The reason for positioning can be divided into three steps:
1, if there is an Oracle error number or alert log detailed error information, you can locate the reasons for the database failure;
2, if not, you
/* Login/*
c:>sqlplus/nolog;
...
Sql> conn/as sysdba (Local database)
sql> conn user/passwd ; (Switch User)
/* Create an empty table with the same table column name and type as already exists.
CREATE TABLE Table_bak
As SELECT * FROM table
use of functions and cursors in Oracle
--Creates a function and invokes the CREATE function fun1 (v_in_ename varchar2) return number is v_annual_sal number;
Begin Select (SAL+NVL (comm,0)) *13 into V_annual_sal from EMP where
Oracle Temporary table Knowledge
In Oracle, temporary tables are divided into sessions, transaction two, and the session-level temporary table data exists throughout the sessions until the end of sessions; Temporary table data at the transaction
SCOPE
The SCOPE clause lets your specify when the change takes effect. Scope depends on whether your started up the database using a client-side parameter file (pfile) or server parameter file ( SPFile).
SCOPE specifies when changes to system will
First, the software installation process
1. Double click setup.exe and click "Start Installation"
2. Select the installation path database type is advanced
3. Choose to install the Enterprise Edition
4. Select installation directory
4. Check
Oracle 2010
Http://www.cnblogs.com/jiguixin/archive/2011/09/09/2172672.html
Download Address:
Http://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_client.zip
Unzip the downloaded zip file first and run the Setup.exe file.
Oracle_sid parameter, this parameter is used in the operating system, it is a description of the database we want the default connection instance, for a machine with more than one instance of the case, to be modified before the Conn/as SYSDBA
Guide:
When MyEclipse Database Explorer establishes an Oracle DB connection, the following error will be reported regardless of which Oracle JDBC driver package (Classes12.jar,ojdbc14.jar) is used.
Java.sql.sqlexception:ora-00604:error occurred at
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