1. Close an instance[Email protected] ~]$ Sqlplus/as sysdbasql> shutdown immediate;2. Back up the SPFile filesql> create pfile= '/home/oracle/acct1.pfile ' from SPFile;3. Modify the Pfile file Cluster_database to False*.cluster_database=false4. Use
One, roll back to the retention point
Use the savepoint statement to create a savepoint in the current transaction.
Use the ROLLBACK to savepoint statement to roll back to the saved point that was created.
Second, the data state
Fully Recover data filesRman target/List Backup summary; See if there is a backup, and if there is no backup, make a full backup first (it should be backup database)Now simulate deleting data files for Oracle databaseLocate the data file directory,
Oracle introduced the merge command in 9i,With this merge you can perform inserts and updates operations on a table in one SQL statement at the same time. Of course update or insert is based on your specified conditions, Merge into can be used to
createtime--2018 February 5 11:42:15Author:marydonSeveral ways that Oracle inserts table data1. Insert a whole row of data into the table/*Method One*/INSERT intoTable nameVALUES(Val1,val2,val3,...);/*Method Two*/INSERT intoTable nameSELECTColumn1,
Microsoft Windows [version 10.0.16299.192](c) Microsoft Corporation. All rights reserved.C:\windows\system32>echo%oracle_sid%%oracle_sid%C:\windows\system32>set Oracle_sid=fastC:\windows\system32>sqlplus/as SYSDBASql*plus:release 12.1.0.2.0
1, Flash back query (principle: dependent on the undo table space)Query the current SCN numberSelect Current_scn from V$database;After deleting the data by mistakeSELECT * FROM table_name as of SCN delete data before the SCN number;Reinsert the data
The parameter passed in as long as the parameter of the list type is OK ... 1, BULK Insert insert into T_city_index ( I D,city_code ) Select Seq_city_index. nextval,cd.* from ( Select #{item.citycode,jdbctype=varchar},
-Cross connection (produces Cartesian product)SELECT * from the EMP Cross join dept;--Natural connection (can automatically match related fields and eliminate Cartesian product)SELECT * FROM EMP Natural JOIN dept;--join ... The using,using clause is
Exp/imp can be used in the following casesTransfer data between two databases1. Between versions of the same Oracle database2. Between versions of different Oracle databases3. Oracle database between the same or a different operating systemBackup
Summary of Oracle Stored Procedure instance analysis (CODE) and oracle instance analysis1. Stored Procedure structure 1.1 The first Stored Procedure
CREATE OR REPLACE PROCEDURE proc1 ( para1 varchar2, para2 OUT varchar2, para3 IN OUT
Common oracle permission settings (recommended for favorites) and oracle permission collections
Grant create user to user name ---------- grant the create user permission to the user name
Grant alter user to user name ---------- grant the user
Oracle's explanation of pre-defined roles
A role is a collection of related permissions. Using a role can simplify permission management. In short, oracle can combine a series of permissions (roles) in advance and package them to the user, so that
Oracle entry,
Oracle Structure UnderstandingThe whole Oracle is a large databaseDifferent instances can be created in the middle.The instance contains different tablespaces (that is, a small database ?), You can manage tablespaces.Each tablespace
Introduction to the functions of each service under oracle10g and the functions of oracle10g
After Oracle10g is installed, there are usually the following services:
1. OracleCSService
The OracleCSService manages cluster configurations by
Oracle user permission operation SQL summary, oracle user permission SQL
--- User and permission management ----
-- 1, user --
Create User Username Identified By "password"
Default Tablespace
--- Specify the default tablespace. If this parameter is
Oracle OAM implementation of PeopleSoft SSO Single Sign-On step tutorial, oampeoplesoft
This article describes how to use OAM to implement eaglesoft single-point logon. The eaglesoft system is short for PS. The steps are as follows:
1. Configure
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