By default, if you type data that violates a constraint rule when you perform a DML operation, the error message is immediately prompted. In some cases, you might want to check for constraints at the end of a transaction, such as cascading updates
1, the concept of authority
Permissions (privilege) are rights that execute specific types of SQL commands or access other schema objects, including system permissions and object permissions.
2, the Classification of authority
1 system privilege
Use Oracle internal principles to describe the following procedures:
1, Sqlplus USER/PASSWD@ORCL
2, update t set a=1 where b= ' SS ';
3, commit;
4, exit
1, Sqlplus USER/PASSWD@ORCL
(1), Client Sqlplus connection monitoring
(2), listening to receive
CREATE OR REPLACE FUNCTION fun_account_change (headobject in Ebsheadobject, &NBS P inaccountno in Pub_account_info. Accountno%type, INACC Ounttype in Pub_account_info. Accounttype%type,
In the analysis of the relationship between V$tempfile and V$sort_usage, we notice that Oracle's allocation rules and regular data files are not the same for the absolute file number (AFN) of the temporary file.
In fact, the absolute file number of
We have recently taken into account the fact that our database-side write stored procedures are used in temporary tables, as we are not yet clear on what the database end is dealing with? Is the same way as SQL Server, there are some problems, and
1.oracle the initial password after the installation is complete?
Internal/oracle
Sys/change_on_install
System/manager
Scott/tiger
Sysman/oem_temp
Initial default user and password for 2.oracle9iaswebcache?
Administrator/administrator
How do
The purpose of this article:
1. Say something about Oracle's optimizer and its related knowledge.
2, answer why sometimes a table of a field is clearly indexed, when the observation of some SQL execution plan, found that the problem does not go to
User Management Recovery
Oracle Recovery Architecture
Ii. Recovery type: instance recovery, media recovery
1, the premise of the recovery of the data files, control files and online logs are not damaged, fully automatic
2, media Recovery: In the
I put it all under the $oracle_home/rdbms/admin, it looks like an ORACLE-provided script
$ cat Show_para.sql
Col P_name for A40
Col p_description for A50
Col P_value for A30
Set Linesize 10000
SELECT I.KSPPINM P_name,
I.ksppdesc P_description,
Project situation: is a large company's internal office system, the system has two and the general enterprise application is not the same characteristics: first, the user is very much, the number of personnel reached about 2W, the other is the form
System Global area is a huge shared memory region that is seen as a large buffer pool for Oracle databases, where data can be shared by various processes in Oracle. Its size view statement:
Sql> select * from V$SGA;
V$sgastat, V$buffer_pool
I. Memory dumps
1). Global Area
ALTER session SET EVENTS ' immediate trace name Global_area level n ';
1 contains PGA
2 contains SGA
4 contains UGA
8 contains indrect memory
2). Library Cache
ALTER session SET EVENTS ' immediate trace name
Because Oracle does not support the update or delete from statement, Oracle's Multiple Table association update and delete must be supported by subqueries, and, similarly, Oracle does not support simultaneous update or delete multiple tables,
In a large database system, there are two important functions, that is, stored procedures and triggers. In a database system, both stored procedures and triggers are accomplished through a collection of SQL statements and control process statements.
Oracle is one of the most used databases in the world, and the Active Server Web page (ASP) is a powerful server-side scripting language that is widely used to create dynamic Web pages. Many ASP developers have been considering the possibility of
What happens when SQL Server Oracle MySQL detects that a value is null in the database?
1, Mssql:isnull ()
Grammar
ISNULL (Check_expression, Replacement_value)
Parameters
Check_expression
An expression that will be checked for null.
1. Cross-efficacy Rman backup
In the case where the Rman catalog and the physical backup destination are not synchronized, we can use the Crosscheck command to verify that the Rman information in the control file or recovery directory is the same
Attempts to logically recover OCR devices have led to problems with inconsistent OCR status.
Perform the following actions on one of the nodes of the RAC:
bash-2.03#/data/oracle/product/10.2/crs/bin/ocrconfig-export/export/home/oracle/ocr.log
1, logical backup and physical backup differences
1 Physical Backup: Backup data files and control files, backup the physical structure of the entire library, mainly for media recover
2 logical backup: Back up the data structure and data of the
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