Since the system is a modification of the former batch system, it is necessary to partition the table1, has established the non-partitioned table, cannot make any table partition operation, such as: Add, delete, merge, split can not operate2, the
I've been doing cloud projects with MySQL database for a while, and there was a time when I had no contact with Oracle, and yesterday I had a friend who asked me to help with Oracle's need to process an attendance record, and I spent some time
Oracle itself does not have any default sorting capabilities, and to sort, you must use order by, and the data rows after order by default are ASC (ascending order). To select Descoracle in descending order, the records will be returned based on the
Set head offSet Lin 150Set pages 0Set Long 10000Select TEXT from User_source t where T.name = upper (' get_car_status_new ') Order by TYPE, line;=======================Set pages 0Set Longchunksize 3000Set Long 2000000000Set head offSet Linesize
Reprinted from: http://blog.csdn.net/nsj820/article/details/6573525 a >, Oracle database startup mode1 , startup Sql*plus not connected to the databaseSqlplus/nolog2 , connect to Oracle with SYSDBA roleCONNECT Username/password as SYSDBA3 , launch
Set Linesize 120Set PageSize 20Column file_name format A8V$nls_parameters a table in the data dictionaryNote about NULL:1: Empty expression with null result2: Determine whether a value equals null is used is does not equal with IS. Remember
The concept of locksLocks appear on data sharing occasions to ensure data consistency. When multiple sessions modify a table at the same time, the data needs to be locked accordingly.The lock has a read-only lock, exclusive lock "," shared exclusive
CREATE TABLE "Brand_relation"("ID" number (10,0) is not NULL ENABLE,"CATID" number (10,0) is not NULL ENABLE,"brand_id" number (10,0) is not NULL ENABLE,PRIMARY KEY ("ID"));CREATE SEQUENCE "Br_id_seq" NOCACHE;CREATE INDEX "Br_catid" On
Select--*Tcl.column_name,cc.comments Col_comments,data_type,Case Data_type If ' number ' then ' (' | | data_precision| | ', ' | | data_scale| | ') 'When the ' VARCHAR2 ' then To_char (char_length)When the ' CHAR ' then To_char (char_length)When the '
Which linker and compiler are used when relinkOracle software is used?
Which linker and compiler are used when relink Oracle software is used?
Reference:Required linker and compiler locations (Document ID 1012798.6)Problem Description:===============
Create dblink and scheduled tasks in oracle
Recently, we are working on a task, specifically, to regularly insert data to the middle table of another user's database.
The first thing we need to do is create an oracle dblink to the other database to
Data cleansing Note: determines whether it is a date function
Background]
When extracting data from a certain date, it is found that a large amount of non-date data exists, and spam data (non-date data) needs to be cleaned ).
[Solution]
Write a
Operations on tables in oracle
The basic creation will not be mentioned. Here we will talk about some uncommon methods, which means they are easy to use.
Create a table using a subqueryCreate a new book table using a subquery.
Step 1: completely
Oracle ---- Data OperationsInsert Null ValueRun the following query:
Insert into emp (empno, ename, job, sal) VALUES (1005, 'yang hua', 'cler', null );
Copy Data:Multiple rows of data can be inserted at a time. Step 1: Create a new table manager:
Oracle 11g cannot connect to reporting ORA-12537 + ora-609 resolution, ora-12537ora-609
Operating System: windows2008
Database: oracle11g
Problem: an application system that has been running normally for a year suddenly cannot connect to the
Startupalter. logspfile. ora
SQL> select * from v $ version where rownum = 1; BANNER implements Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-ProductionSQL>! Cat/etc/issueEnterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Simulation and Analysis of librarycachepin problems in a single Oracle instance
Simulation and Analysis of library cache pin problems with a single Oracle instance
Local Environment: Oracle 10.2.0.5 x86-64bit for RHEL5.8 x86-64bit
First
Create the PSU 11.2.0.3.8 and then create the database.
SQL> alter session set nls_date_format = 'yyyy-mm-dd hh24: mi: ss'; Session altered. SQL> select created from v $ database; CREATED --------------------------------------- ----------------------
Oracle cursor, process, and reference type
0. Common functions
Substr (str, start, length); // reverse indexes can be performed. If length is not specified, it ends with to_number (str); // str to numberselect to_char (sysdate, 'yyyy-mm-dd hh24: mi:
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