We all know that synonyms can be used in Oracle. The main function of synonyms is to hide the identity of the base table and reduce the complexity of SQL statements, because the user does not need to know which table is represented by the synonym,
This morning, I completed the task I proposed for myself yesterday. I finally finished reading PDF files online. At the same time, I solved new problems and added the hand-shaped cursor to control translation. The modification of batch video
Ideas:
You can use a sequential number table to record the current maximum sequential number for future use. Each time a serial number is obtained, the serial number table is updated to a large one.
Involved tables:
Sequential number table
If you use the DTs data import and export tool provided by sqlserver, you should note that the table names in Oracle are in upper case, while SQL Server is in lower case by default, and should be changed to upper case during conversion, otherwise,
Database Hot Backup and complete recovery test:
1. First, make sure that the database is in archive mode.
2. for hot backup data files, use alter tablespace XXX begin backup to set the tablespace to the backup state. You can manually or run host
1. Backup;
1: connect to the target database:
RMAN> connect target sys/sysray @ dB or RMAN target = sys/sysray @ DB
2: query the configuration of the target database;
RMAN> show all;
Modify the configuration as follows:
Configure
A database is a shared resource used by multiple users. When multiple users access data concurrently, multiple transactions can access the same data simultaneously in the database. If concurrent operations are not controlled, incorrect data may be
DDL trigger, which is triggered when a DDL statement is executed. Schema triggers and database Triggers are divided according to the scope of action. Schema triggers applies to one user, while database Triggers applies to all users of the entire
ORACLE:
Considering the implementation paging in MySQL, the Select * from table name limit starts to show the number of records and how many records can achieve our paging effect.
However, there is no limit keyword in Oracle, but the rownum
In the past decade, Oracle has become one of the world's most professional databases. For IT experts, it is to ensure that their company's productivity is improved by leveraging the powerful features of oracle. One of the most effective methods is
(1) Select the most efficient table name sequence (valid only in the rule-based Optimizer ):The Oracle parser processes the table names in the from clause in the order from right to left. The table written in the from clause (basic table driving
Known: The test user tuser1, the test role trole1, and trole1 have been authorized to tuser1.
Latency is required for testing a program, so dbms_lock is authorized to trole1 and put in an anonymous block for testing:
SQL> set serveroutput on; SQL>
1. Oracle tracking FileThere are three types of Oracle trace files: one is the background alarm log file, which records the activity of background processes during database startup, shutdown, and running, such as creating tablespaces, creating
Http://blueram.javaeye.com/blog/425743
In large-scale project development, common databases are Oracle databases. However, an Oracle client requires a large disk. After installation, two functions are basically used: TNS Configuration Service
Technorati label: Oracle
Font: Small Medium large | printed on: Author: tangshan_ph Source: cnoug blog homepage
Oracle performance can be enhanced by adjusting database applications, databases, and operating systems. Appropriate Oracle adjustment
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data. The exp command can export data from the remote database server to the local DMP file, and the IMP command can import the DMP file from the local to
Introduction: after the former CEO of Hewlett-Packard Hurd went to Oracle, the two were separated from the sweet league. After the former CEO of SAP entered the position of HP's successor to Hurd, the three parties were formally matched. In
Entries generated by the system in different steps:
1) The inventory module generates the following entries for receiving:Borrow: material procurement (purchase Unit Price X order quantity)Loan: accrued liabilities (purchase Unit Price X order
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.