Original Transmission gate: http://blog.csdn.net/wh62592855/archive/2009/11/06/4776631.aspx
Remember before in the forum to see Inthirties used with as the word, at that time did not particularly care. Today in a post and see someone use this, so
To_char (t.datelastupdated, ' yyyy-mm-dd hh24:mi:ss:ff3 '), To_char (Systimestamp, ' Yyyy-mm-dd HH24:MI:SS. FF3 ')
The time format for Oracle. Note the difference between the date type and the timestamp type in the database
whereTo_char (T.discharge_
1. Basic Grammar
SELECT * from table [start and condition]
connect by [prior] Id=parentidIt is commonly used to find data that has a parent-child relationship, that is, a tree-structured data, and its return data can clearly differentiate each
Request Process:
1 Oracle executes your query.
2 Oracle fetches the "I" and calls it row number 1.
3 Have We gotten past row number meets the criteria? If no, then Oracle discards the row, if yes, then Oracle return the row.
4 Oracle fetches the
Oracle, you can use the INSTR function to judge a string to determine whether it contains the specified character.
Its syntax is:INSTR (string, substring, position, occurrence)which
String: Represents the source string;
SUBSTRING: Represents a
I haven't seen much of Oracle's technical documentation for a long time, and today I read an Oracle Response time optimization and method R. This is the classic book of Optimizing Oracle Performance Classics. The main idea. R represents response
Http://www.oracle.com/technetwork/database/windows/downloads/index-093848.html
http://blog.csdn.net/robin_he/article/details/7345842
Oracle 11g R2 11.2.0.3 Patch set for Winnt 32bit
Do not explain the need to hurry down AH
115 closed
RAC, Data Gurad, Stream are three tools in the Oracle High-availability system, each of which can be used independently or in conjunction with each other. Their respective emphasis is different, the application scenario is also different.
RAC its
Before Oracle9i, Chinese is sorted according to binary encoding. In oracle9i, according to pinyin, radical, stroke sorting function.
1, set the Nls_sort parameter value
Schinese_radical_m sorted by radical (first order), stroke (second
There are Node1 and node2 two Oracle RAC Machines, performed in Node1
Su-oracle
Pwd
mkdir ~/.ssh
CD. SSH
SSH-KEYGEN-T RSA
Generate RSA keys and public passwords all the way to the carriage
First to resolve the local password-free login
CP Id_
Oracle dblinke+ materialized view the new requirement of synchronizing data items for two databases is to synchronize parts of the two Oracle databases, and now try several methods in the experimental environment, and then record the Dblink and
In the DBA's maintenance Management, index invalidation is a common problem, such as move, CTAs, swap partitions and so on will cause the index invalidation, the following experiment is to verify the drop partition, truncate partition partition on
Installation steps:1, first download a good Oracle installation package, the download after the two compressed files to the same folder, the folder for the database;
2, after the decompression, in the directory to open Setup.exe, after the
Oracle databases have two types of backup methods. The first class is a physical backup, this method realizes the complete recovery of the database, but the database must run in the return mode (the business database runs in the non-return mode),
To transfer a user's table to another table space(1) Exp. export all data by user or by other meansEXP Owner=user1 file=user1db. CM7(2) If the table space is replaced in the original instance, delete all the tables for that user first.Select ' Drop
I. Creating an instance of a package specification:Create or Replace package pack_op is
Procedurepro_print_ename (ID number,value2 out number);
Procedurepro_print_sal (ID number);
Functionfun_re_date (ID number) return date;
End Pack_op;
To create a
--============oracle ADG Building ==============--========== Preparation Stage =========1. Check primary for Archivelog mode.Select Log_mode from V$database;If it is Noarchivelog mode, switch to Archivelog mode.Shutdown immediate;startup Mount;ALTER
Start with (tree query)The basic syntax is as follows: select ... from + table name where + condition 3start with + conditions 1CONNECT Span class= "Hljs-keyword" >by prior + condition 2 --example select * From DEMOstart with id = 00001 ' connect
--View the amount of data generated per day for archived logsSource: http://blog.51cto.com/bjiokn/321878Alter session set nls_date_format= ' Yyyy.mm.dd hh24:mi:ss ';Select Trunc (completion_time) as Arc_date,COUNT (*) as Count,Round ((SUM (blocks *
There are two ways to run an Oracle database: Archive (ARCHIVELOG) and non-archive (NO ARCHIVELOG). In non-archive mode, the log switch overwrites the previous redo log files directly and does not generate an archive log. The database runs under
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