Backup Error 1:
RMAN-03009: BackupCommand(Ora_disk_1On the channel,In07/28/2012 10:23:22Upper)
ORA-19602: failed to back up or copy active files in noarchivelog Mode
The reason is: automatic archiving is not enabled.
Solution:
1. Enable
I. syntax and Principles of the update Statement 1. Syntax single table: Update table name set column name = new value where column name = A value such as: Update t_join_situationset
Join_state = '1' whereyear = '000000' the join_state field of the
Document directory
Tables and columns
Integrity constraints
View
Sequence
Synonym
Index
User
Role
Tablespace quota
Configuration table
Tablespace
Data Files
Segment
Rollback segment
1. System Table
System Parameters of the Oracle
-- Query data by system date (sysdate)Select * From t_br_salesdtl A where a. fstoreid = 191 and A. ftime> = to_date (to_char (sysdate-1, 'yyyy-mm-dd'), 'yyyy-mm-dd ')-- Query data based on the given date (eg:)Method 1:Select * From t_br_salesdtl A
The unique identifier generated by Oracle is different from that generated by SQL and Sybase. It uses a serial number generator. The serial number generator is a database object. The following statement creates a serial number generator SQL
Query roles of a user:Select grantee, granted_role from dba_role_privs where grantee = 'wjw ';Query the system permissions of a user:Select grantee, privilege from dba_sys_privs where grantee = 'wjw ';Query the system permissions of a role:Select
From: http://www.cnblogs.com/zjrstar/archive/2006/08/31/491090.html
Parsing Oracle rownum
For rownum, it is the number that the Oracle System sequentially assigns to the row returned from the query. The first row is allocated 1, and the second row
Create user _ authorization _ in Oracle and import data
Complete process: create users, create tablespaces, authorize, and create tables
L create a user
Create user BBS identified by bbs123;
L create a tablespace
Create a user in Oracle and set the permission _ basic cmd
C:/> sqlplus
SQL * Plus: Release 9.2.0.1.0-production on Saturday September 29 15:08:34 2007
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
Enter the User name: SYS as
A project needs to monitor data changes in a table, and then generate a file to the disk based on the change results to facilitate monitoring by log capturing programs.
You need to use the util_file package that comes with Oracle.
The target
1. In an application, an absolute number of seconds is obtained from 00:00 on January 1, January 1, 1970 to the current time, and is stored as a number field in the Oracle database table;
2. Sometimes we need to restore this number of seconds to a
View users with sysdba Permissions
Log on to Oracle as a sys user and execute select * from V _ $ pwfile_users; the following results can be queried:
SQL> select * from V _ $ pwfile_users;
Username sysdba sysoper
-------------------------------------
Obtain data of a day
Select D. device_name as device, D. alert_time from Device D where D. alert_timeBetween to_date ('2017-9-27 00:00:00 ', 'yyyy-mm-dd hh24: MI: ss') andTo_date ('2017-9-27 23:59:59 ', 'yyyy-mm-dd hh24: MI: ss ')
// Return the
Queryoptimizer has gone through two historical stages: RBO andCBO. In the RBO era, Oracle execution plans are generated through a series of solidified rules. In the CBO era, system statistics are used to test various execution paths and obtain
Oracle concurrency uses multiple CPUs and Io to perform database operations, which can significantly improve the operation performance of large databases, such as DSS or data warehouses.
Applicable
Large Table query, join, and partition index
Original article address: http://www.cnblogs.com/chenkai/archive/2010/02/22/1671442.html. Click Open Link
Check Constraints
Code
-- Create Table 'create table order_status (ID integer constraint order_status_pk primary key, status varchar (120),
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.