1. Locate the exp execution file from the Oracle installation directory and copy it to the specified directory:/home/fm/server/lib/oci/lib2. Copy the $oracle_home/rdbms directory below the ORACLE installation directory to the specified
First, the basic usage:First press 11G beforeConn/as Sysdba;Create user test identifed by test;ORA-65096: The public user name or role name is not valid.Check the official document that "trying to create a generic user, you need to use C # #或者c #
DML triggersRefers to the body of the program that is triggered when an insert, update, or delete operation occurs. You can use DML triggers if you want to record or limit their actions when the user is working on the data.For example, I want to
Some SQL (under Oracle) summaries used in the project: 1. Find all indexes of the table (including index name, type, constituent column) 1 Select T.*,i.index_type from User_ind_columns t,user_indexes i where t.index_name = I.index_name and T.tab Le_
1. Use logical operation symbolsQuestion: Query for wages higher than 500 or job manager employees, but also to meet their initials in uppercase J?SELECT * from emp where (Sal > $ or job = ' MANAGER ') and ename like ' j% ';2. Use the ORDER BY
AnimalID Name1 dog1 cat2 LionHow do I get the name list with the same ID? That is, you want the list of ID 1 to be dog, cat format.1. First Oracle has a method, Wm_concat ()Select a.ID, Wm_concat (a.name) as Namelistfrom animal Agroup by a.ID But
Oracle NET1. The client obtains the specific connection information of the server through the @ora10g name to the Tnsname.ora file.2. The client sends a link request to the server via the description in the Tnsname.ora server side3. After the server'
In Oracle, sequence is the ordinal, and it increases automatically each time it is taken. The sequence is not tied to the table.1. Create SequenceThe first thing to do is create sequence or create any sequence rights.The following are the words of
There are three types of exception errors:Pre-defined (predefined) errorsThere are approximately 24 pre-defined exception cases for Oracle. The handling of this exception does not have to be defined in the program and is automatically raised by
Reason:
1, the DMP file can be directly opened with notepad++ modified version number is the version number of the imported version
2, the file is too large to open, you can use the tool to modify
3, there may be a DMP file
ReasonIn the process of operating the database, we may encounter this situation, the data in the table may be repeated, so that we have a lot of difficulties in the operation of the database, so how to delete these duplicate data?You may encounter a
I. Oracle monitoring, database, startup and deactivation of Oracle servers
Login with root: Switch user su–root/root operating system, generally only the root user has access to the Oracle database server installed in the operating system, and
First, describe
To install the ORACLE11GR2 database in a 64-bit Win7 operating system, we first need to download the Oracle database software, which contains 32-bit and 64-bit Oracle database software.
Baidu Cloud Disk Free:
with T1 as (select Ylplid,max (SBSJ) sbsj from YLPLCG where Ylplid in (select Ylplid from CYQYCPYLPLGX where cpid= ' 659DE0BC 42544b74b660e37e665f437c ') group by ylplid) SELECT t.ylplmc,case if t.ylpllx =1 then ' raw material ' when T.YLPLLX = 2
1. Oracle Naming conventions: Similar to Java naming Conventions 1. Strictly case-sensitive 2. All SQL statements must be '; ' End 3. All SQL is separated by a space: Sqlplus space/space as Space sysdba carriage return 4. Either the
Temporal table ConceptsA temporary table is a database object that is used to temporarily save temporary data (or intermediate data), which is somewhat similar to a normal table, but is quite different. It can only be stored in a temporary table
--Query The department number of the highest average salary departmentSelect Deptno,avg_sal from(select Deptno,avg (SAL) avg_sal from EMP Group by Deptno)-as a table, no table can bewhere avg_sal =(select Max (avg_sal) from (select Deptno,avg (SAL)
Oracle RAC Archive settings need to be less simple than single-instance setup, with some details to be noticed during the open processArchive Open Ideas:1: See if the database is open for archiving2: Create a shared directory (archive must be placed
/*the historical version of the SQL statement SQL89 comparison SQL92 SQL99 multi-Table association query Cartesian product equivalent correlation query Non-equivalence correlated query left outer connection right outer connection full outer
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