There are three users test1,test2,test3, and three users have DBA color permissions.
Create a table T1 with TEST1 users and grant their query permissions to TEST2:
Sql> CREATE TABLE T1 as select * from All_objects;
Table has been created.
Sql>
We created two users for the system: COM and comtest. The former holds the official library data, which holds the test library data. They all have a taw_rm_user table that holds the basic user information for using the system, and I just changed the
This article introduces the import and export IMP, exp two commands for Oracle data, describes their corresponding parameters, and then uses some examples to
Drill, deepen understanding.
At the end of this paper, we discuss the problems that may
If you search on the web with the keyword MySQL migration oracle, you will basically get a little more information about how to migrate from Oracle to MySQL and from MySQL to Oracle.
Aside from all the manual ways to do this, you can find some
Use Date
Oracle Internal use digital storage date: century, year, month, day, hour, minute, second.
The default date display format is DD-MON-RR.
--You can specify only the two digits of the year, allowing the 21st century date to be stored in
This article mainly introduces the use of Oracle MERGE into, the need for friends can refer to the following
A lot of times we have the situation where a piece of data already exists in the table, update it, and if it doesn't, insert the new data.
In the process of project development, a large number of use of paging query, when you want to let the data sorted by date, there are many duplicate data appear. The cause of this problem is that in the data, the value of the date is not unique. We
Most people will go to check whether the archived directory is full, and use the archive directory to determine if the archive space is full, but I don't think the method represents the actual situation, and what you see may be a superficial
Question Prompt
Error tip: Error:ora-12514:tns:listener could not resolve service_name given in Connect
Workaround:
The code is as follows
1. Open
the/network/admin/listener.ora file and find:
Sid_list_listener =
(Sid_list =
Oracle|window Oracle installed on disk D:
1. Re-establish the Pl/sql package Dbms_logmnr_d
Open D:\oracle\ora81\rdbms\admin\dbmslmd.sql
Find
"TYPE Col_desc_array is Varray (513) of col_description;"
To
"TYPE Col_desc_array is Varray (1023) of
If you have really understood some of the methods we discussed above (Edit, update, and AddNew), perhaps some readers already know how to delete records in an Oracle database.
' Delete all records that match the above criteria
Two Oracle 10g databases to synchronize data with materialized views in a specific implementation process
Source Library is 192.168.1.81
Target Library is 192.168.1.96
The server used for the statistics library is 81
Create a read-only user
Specific steps to effectively close the Oracle deadlock process:
1. Check which process is locked
Check V$db_object_cache view:
SELECT * from V$db_object_cache WHERE owner= ' The owning user ' and clocks!= ' 0 ';
2. Check which SID, through the
The first type:In PL/SQL, execute the explain that you want to optimize in the Plan window. Results, such as:The hit index name is displayed in the Object Name column, and the cost column shows the CPU usage (%).The second type:Use the explain plan
The lag and the lead function are two analytic functions that are related to the offset, through which we can take the value of the offset n rows of the current row and column, and the lag can be looked at as positive upward offset the lead can be
Tool: PlsqlSteps:Log in to Plsql, open the table, then click Tools--Export user objects, select the exported content to specify the export location, OK650) this.width=650; "src="
First, the demandOracle 11gR1 RAC Storage plan replacement, database version 11.1.0.7, no Downtime Maintenance window.Second, the Environment preparation1. Host environment, OS environment2. Install 11.1.0.6.0 version clusterware
1. Write the program to list the required columns than direct write select * More intuitive. In this way, the performance of row data retrieval is the same, and the performance of column data retrieval is improved; When you select the required
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