Today, try to install the ORACLE11GR2 on the CentOS7 virtual machine, for my little rookie, the first thing is to find a course on the internet, found a good tutorial, I am afraid to find later, so record.
Original address:
Used to schedule and manage job queues, which enable Oracle databases to perform specific tasks on a regular basis by using jobs.
The knowledge points involved in Dbms_job1. Create Job:Variable jobno number;Dbms_job.submit (: jobno,—-Job number'
Oracle function gets Chinese Pinyin first letter
/*------Increase: yl--*/
Use of Nlssort functions in Oracle
Nlssort (), used for language sorting
Pinyin
SELECT * from Team orders by Nlssort (sort field name, ' Nls_sort = Schinese_pinyin_m
Using rowset
Rowset is the interface provided in JDBC2.0, and Oracle has a corresponding implementation of the interface, which is useful for oracle.jdbc.rowset.OracleCachedRowSet. Oraclecachedrowset implements all the methods in resultset, but
First, use the following command to move:
ALTER TABLE table_name move tablespace tablespace_name;
Then, if there is an index, the index must be rebuilt:
Alter index index_name rebuild tablespace tablespace_name;
Of course, you can use spool to
A problem that bothers me for a long time is basically solved at 8:41 today.The data volume of the database is very large, the query speed is very slow, after indexing "=" search speed problem resolution, but in the search of the SQL statements are
Turn from: http://tenn.iteye.com/blog/99339
In Oracle, to query the top N records on a specific condition, use a rownum.SELECT * from emp where rownum And the book also warns that you can't use ">" for rownum, which means that if you want to
Environment: MyBatis + oracle11g R2
1. Use Direct path insertion ("/*+append_values/" in the following SQL statement) and use the keyword "union ALL":
INSERT INTO/*+append_values * * T_
Uid_code (C_uid_code,
C_serail_len,
--Start
First, we prepare the test data.
CREATE TABLE TEST
(
NAME VARCHAR2,
birthday DATE
);
INSERT into TEST VALUES (' John ', DATE ' 2014-12-14 ');
INSERT into TEST VALUES (' Dick ', DATE ' 2013-12-14 ');
INSERT into TEST VALUES (' Harry ',
The materialized view concept is similar to the summary table in discoverer. At the discoverer management end, you can create a different summary table. In the discoverer query, discoverer first parse the query to determine whether the query can use
--*********************************
--Oracle 10.2.0.1 upgrade to 10.2.0.4
--*********************************
This article is based on the Linux environment Oracle, but and win difference is not very big, commands and so on are the same. I also
Cursors are buffers of data, plsql do not allow output of set values, only single properties, cursors you can interpret as Ajax RowData
1 View the stored procedures under the current User: SELECT * from User_procedures;2 View all users (note that
The concept of Grang:A cursor is a memory workspace of SQL that is defined by the system or user as a variable. The role of a cursor is to temporarily store blocks of data that are extracted from the database. In some cases, the data needs to be
We can use Oracle's growth in MyBatis, and we can use configuration files and Java code to get the maximum value of the current self increase.
First, you need to create a self augmentation in Oracle, as follows.
CREATE SEQUENCE " commontrade". Ucf_
java-oracle Stored procedure knowledge Puzzle
A stored procedure is a collection of SQL statements that is saved to accept or return user-supplied arguments. In daily use, complex business logic and operation of the database are often encountered,
Bitmap indexes apply to low cardinality (low-cardinality) columns, and the so-called low cardinality column means that the column has very few desirable values.
Problem with bitmap indexing:With a bitmap index, one key points to multiple rows,
First, use the Decode function for row-column:First of all, let's look at the most typical requirements: Student transcript report making
"1" Table structure definition: CREATE TABLE SCORE
(
ID Number (2),
Student_name VARCHAR2 (10),
SUBJECT
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
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