Rights Management1, default of three users2, create user3, Authorization, REVOKE permissions4, System permissions and object permissions5, role6, Manage permissions by role7. How to pass the permission, lose the administrator password3 Default
1.1.1. ORA-19573Date: 2014-05-21 17:25Environment: Test environment"Scenario description"The database instance is in the open state (READ WRITE), and the database restore, recovery operation encountered an error in Rman."Error Message"Rman> Run {2>
Motivation:You want to do insert/update directly with an SQL statement in Oracle.DescriptionWhen writing SQL statements, we often encounter a large number of simultaneous insert/update statements, that is, when there is a record, it is updated
Oracle's paging queryOracle's paging query statements can be applied basically in the format given in this article.Paged Query format:SELECT * from SELECT A.* from (SELECT*fromWHERE + WHERE >= +The most internal query, select * FROM table_name,
In Oracle, if you commit the modification incorrectly and then want to see the value before the change, you can use the query flashback.The query flashback can be based on a time value or a system change number (SCN).To perform a flashback operation,
[Email protected] oradata]$ export oracle_sid=appdb[[email protected] oradata]$ lsnrctl startLsnrctl for linux:version 11.2.0.4.0-production on 22-may-2014 11:42:15Copyright (c) 1991, Oracle. All rights reserved.Tns-01106:listener using Listener
Oracle Cold backup is a consistent backup, the contents of the backup are data files, redo files, temp files, control files, etc.Sqlblanklines on is the prevention script has a space, sqlplus mistakenly think is the end, reportedSp2-0734:unknown
drop table book; --CREATE TABLE BookId varchar2 (4) primary key, name VARCHAR2 ( -) ); --Creating a sequence Create sequence book_seq start with1Increment by1; --creating a trigger Create or replace trigger Book_trigger before insert on book
-- Create a table that acts as a child tableCREATE TABLE fk_t as select *from user_objects;Delete from fk_t where object_id is null;Commit-- creates a table that is the parent tableCREATE TABLE pk_t as select *from user_objects;Delete from pk_t
In an Oracle database, the data paging feature is an essential operation,There are three types of Oracle database paging query statements:--1. According to rowID to divideSELECT * from NMB where rowID in (Select Rid from (Select RowNum Rn,rid from (
1. A data dictionary is a set of read-only system tables created and maintained by an Oracle server that stores information about databases and database objects. Data dictionaries fall into two main categories: base table and data dictionary viewThe
Environment: win 2003 + oracle 10g
Win 2003 Server physical memory 4 GB
Oracle10g SGA 1504 M
Accident Background:
Adjust the SGA size because the OS memory is only 4 GB. We recommend that the SGA size not exceed 60%.
SQL> alter systemset
Today, I am free to wait. I specially sorted out some information from the Internet for future reference.
I. Common date data formats
1. Obtain the last digit, two digits, three digits, and four digits of the year.
Select to_char (sysdate, 'y') from
1. Materialized view is a special physical table. The Materialized view is relative to a general view. A common view is a virtual table, which has many application limitations. oracle converts any View query to a view SQL statement query. This
Common scenarios: When the Oracle database is backed up from the server and then restored to the local machine, the character encoding of the database is inconsistent, you can run the following command to modify the character encoding of the local
1. Install OEL 5.6
Ii. Install VMware Tools
1) Select the VM option in the menu. The sub-option is installVMware Tools and select it.
2) return to the operating system and mount the optical drive to/mnt.
[Root @ tyger ~] # Mount/dev/cdrom/mnt
Mount:
1. Naming rules for tables and columnsA. It must start with a letter.B. The length cannot exceed 30 charactersC. Oracle reserved words (keywords) cannot be used)D. Only the following characters can be used for A-Z, a-z, 0-9, $ ,#
2. Create a
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