1. The connection order in the WHERE clause:Oracle parses the WHERE clause in a bottom-up order.According to this principle, the connection between tables must be written before other where conditions, and those conditions that can filter out the
Oracle Kanji Pinyin (get full spell/pinyin initials/Pinyin intercept, etc.) the effect is as follows: Oracle Character set GBK no problem, UTF-8 need to modify SQL code--oracle kanji to Pinyin package--1. Get full spell SELECT gethzpy. Gethzfullpy (
DML language &: Address symbol (preparestament) Batch processing: Insert- -------to insert the employees of Department 10th into a new table; It does not have to write the values statement; The list
I. Oracle pfile/spfile differencesPfileThe default name is "init+ routine name. Ora" file path: E:\oracle\product\10.2.0\db_1\dbs, which is a text file that can be opened with any text editing tool.SPFileThe default name is "spfile+ routine name.
"Odp.net Managed" has been released for some time, recently there is a new project, want to try to use, refer to the Garden article: ". NET Oracle Developer Gospel--odp.net Managed officially launched" to the Oracle website download ODP.NET_Managed12
Oracle Cluster Ready Service (Oracle Cluster Readiness Services)Amnesia: Amnesia, configuration information in multiple nodes is not uniform, with the old configuration file, resulting in configuration loss.Use OCR to resolve in RAC.Split Brain:
Oracle Table ConnectionSql/oracle querying data from multiple tables using table joinsSyntax format:Select Field ListFrom Table1,table2where Table1.column1=table2.column2;DescriptionSpecifying join conditions in the WHERE clauseWhen the same name
Attention:1. Assign Value: =2. Or the relationship is represented by orDeclarePrefix VARCHAR2 (2); --PrefixRes_value VARCHAR2 (20);BeginPrefix: = ' QZ ';For I in (select Col1,col2 from table_name) loopIf i.col1= ' col1 ' or i.col2= ' col2 '
--Create Session temp TableCreate global temporary table tmp_user_session (user_id int, user_name varchar2 (), User_email varchar2 (30))--This sentence indicates that the data is persisted when the transaction commitsOn commit Preserve
Ext.: http://database.51cto.com/art/200910/158576.htmIn the daily work of the DBA, the operations that are unlocked for the Oracle user are often encountered, and this article gives an operation method for unlocking the Oracle user under the command
V$datafile is information about data files obtained from Oracle's control filesV$datafile_header is from the head of the data fileUnder normal operation, the checkpoint SCN values for both are consistent, but when the datafile is damaged you can use
[SQL]View Plaincopy
To establish the tablespace and the user's steps:
User
Create:Create user username identified by "password";
Authorization:Grant create session to user name;
Grant create table to user name;
Grant create
1. Delete the primary key ALTER table TABLENAME drop primary_key Run the above SQL to remove the primary key; Assuming that the ALTER TABLE TABLENAME drop CONSTRAINTS COLUMN Cascad is not successful E --delete constraint alter TABLE TABLENAME
--------System Permissions--------Create userCreate user Zc Identifid by ZC; --Create UserGrant create session to zc;--creating user login PermissionsRevoke create session from zc;--Contact User Login permissionAlter user account unlock; --Modify
Oracle Installation Error: environment does not meet requirements
In the past, I often encountered this problem when installing Oracle, and I didn't care too much about it. I modified the cvu_prereq.xml file under the client \ stage \ cvu directory (
An error occurred while importing the oracle11g dmp file to oracle10g: Header Verification Failed --- Solution
R & D personnel encountered the following problem:
Problem description:
The following error is reported when the dmp file exported from
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