Under Linux to start Oracle and in Windows is different, for general in Windows operating habits people have a lot of not adapt, so I write this article to facilitate the novice to operate, the following step-by-step to explain the start process.
1.
Since last week, the server Oracle database problem, less than half a day, will report Maxsession (150) of the problem, must be the database session exceeds the maximum number.Because the server is running a file transfer application, the request
If I hadn't used the Oracle lead this time, I wouldn't have found anything so useful.
Oracle statistical analysis function lead
Syntax structure:
Leads (value_expr [, Offset][,default]) over ([Query_partition_clause] ORDER by
Oracle's indexes can be grouped into 5 categories, including unique indexes, combined indexes, reverse key indexes, bitmap indexes, and function based indexes.
1. Standard syntax for creating indexes
The following refers to the content:
CREATE index
4.3 single-line character function
Common Single-line character functions include the following:
█lower
█upper
█initcap
█concat
█substr
█length
█instr
█trin
█replac
Below, we introduce them separately by example.
LOWER(column name | expression):
After Oracle 10g installation is complete, its directory structure differs greatly from that of oracle9i. The main structure of the Oracle Database 10g and Oracle9i file directories is shown in the following illustration. The ora92 in the Oracle9i
Oracle subroutine parameter patterns are mainly in,out,nocopy,in and out can be combined, out and nocopy can also be used in combination.
In is mainly used for incoming parameters, can be variables, constants, expressions, within the subroutine can
Oracle partitioned tables into different table spaces
Reference: http://hougbin.iteye.com/blog/1470505
Blog Categories:Database
query partition: Select *from user_extents WHERE partition_name= ' partition name ';
1 Create a table space
Create
Oracle Deadlock Query and processing
First, the phenomenon of database deadlockProgram in the process of execution, click OK or save the button, the program is not responding, there is no error.Second, the principle of deadlockWhen you perform an
There are two types of annotations in Oracle
First: "--" to annotate a line
The second: The beginning of the annotation "/*", the end of "* *" can be annotated multiple lines.
=================================================================
error encoding : Ora-01033:oracle initialization or shutdown in progress
description of the fault: because the database file ([NAME]) was moved. DMP)/log files, etc., causing a ORA-01033 error in the database connection.
Failure Analysis : There is
How Oracle aggregates multiple-line functions
In the BEA forum, see a masterpiece written by an "expert", an SQL statement is
Select r.xm,
substr (r.csrq,1,4) | | Years ' | | substr (r.csrq,5,2) | | Month ' | | substr (r.csrq,7,2) | | Th ' Csrq,
With Tab as (select T.object_pid, T.mesh, round (x, 8) x, round (y, 8) y, round (z, 3) z , id from had_object_box_pole T, table (Sdo_util.
Getvertices (T.geometry)), Tab1 as (select T.object_pid, T.mesh, T.x, T.y, T.z, T.id, COUNT (*) over (
The data is based on an Oracle database Scott/tiger the EMP (employee) and dept (departmental) tables under the demo account:
CREATE TABLE DEPT
(
DEPTNO number (2) NOT null primary key,
dname VARCHAR2 (),
LOC VARCHAR2 ( )
)
CREATE
declare i number; temp_sum number; temp_hfmpcode temptable.pubname%type; --temptable.pubname%type指的是temptable表的pubname字段的类型 temp_fullname temptable.pubcode%type;begin select count(*) into temp_sum from temptable b; i := 1; while iThe above code can
Transactions: Transactions are used to ensure consistency of data, which consists of a set of related DML statements that either succeed or fail all of the DML statements of the group.Description: A set of SQL, a logical unit of work, performing a
Oracle database Installation diagram and graphics operation stepsFirst, Oracle downloadNote that Oracle is divided into two files, and after downloading, two files are extracted to the same directory. In the path name, it is best not to appear in
First, the generated table with the database query tool, the table name needs to add double quotation marks to be able to query otherwise prompt table or view does not exist The database table creation statement generated by EF is by default double-
(a) Insert data mode oneInsert statement syntaxINSERT into table [(column [, Column ...])]VALUES (value [, value ...]);Use this syntax to insert only one piece of data into a table at a timeIf you assign a value in the order of the columns, you can
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