From: http://www.iteye.com/topic/508161
Recently, javaeye found that many comrades know little about SQL optimization. Recently, I have summarized several articles for reference only. However, a few of them may depend on the situation, most of
I have nothing to do today, but I want to know about the Linux system. Of course, it is mainly for the deployment of most projects, so I will first start with the database. Of course, there is no relationship between the two, it's just an order of
-- There are usually some fixed database operations in applications, and we often define some stored procedures for those fixed operations. These stored procedures can simplify the development and maintenance of client applications. It can also
62. Min (distinct | all)Minimum value. "All" indicates minimum value for all values, and "distinct" indicates minimum value for different values. The same value is used only once.SQL> select Min (all Sal) from Gao. table3;
Min (allsal)-----------1111
Basic Oracle Stored Procedure syntax
1. Basic StructureCreate or replace procedure(Parameter 1 in number,Parameter 2 in number) IsVariable 1 integer: = 0;Variable 2 date;Begin
End stored procedure name
2. Select into statementSave the result of the
Note: 1. You must log on as an administrator; 2. the sequence_owner must be in upper case, regardless of whether your user name is in upper case. Only uppercase letters can be recognized. -- View All sequences of the current user select
Concerns and expectations of eight programmers for Oracle's sun acquisition
On the evening of March 13, Beijing time, a major news came from the United States. Oracle bought sun at $9.5 per share, with a total transaction value of more than $7
Create an instance
// Add using system. runtime. serialization; namespace WZ. EMR. model {/// // The object class data_set. (Attribute description: automatically extract the description of the Database field) // [datacontract] public class
1. Set autotrace Parameters
Set autotrace off ---------------- do not generate autotrace Report, which is the default modeSet autotrace on explain ------ autotrace only displays the optimizer execution path reportSet autotrace on statistics --
Document directory
What is a flashback recovery zone?
Why flash back to the recovery zone?
Set the flash recovery zone
What is a flashback recovery zone?
As explained in the Oracle official documentation:
Flash recovery area
The Flash
In the recent development process, we need to take the maximum value of the horizontal column in Oracle. Here we will introduce several Oracle functions for you:
For more information, see the blog. If you have any help, please leave a trace!
Oracle
Recently, I encountered a problem in determining the value of attendance materials. After several discussions on the Forum, I finally got a solution.
The URL of the Forum is as follows:
Http://topic.csdn.net/u/20090415/15/4d934ccf-134d-4a3d-846e-cc71
During Oracle operations, table lock often happens. When a table lock is encountered, how to query the session and process of the table lock and how to unlock it is a constant problem, the following describes the specific operation steps and methods
Create Table henry_test (A varchar2 (10), B INT );Insert into henry_test values ('A', 1 );Insert into henry_test values ('bb', 1 );Insert into henry_test values ('cc', 1 );Insert into henry_test values ('dd', 2 );Insert into henry_test values ('ee ',
1. startup nomount
For non-installation startup, execute re-build the control file and re-build the database to read init. ora file, start the instance, that is, start the SGA and background processes. ora file.
2. startup Mount dbname
Install and
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