The use of Oracle's SUBSTR functionGets the string substr (string, start_position, [length]) of the specified starting position and length in the stringSuch as:SUBSTR (' This are a test ', 6, 2) would return ' is 'SUBSTR (' This are a test ', 6)
Work required, installing Oracle 11g, an error occurred while importing backup data on another machine:
IMP-00019: Line denied due to ORACLE error 12899IMP-00003: ORACLE Error 12899 encounteredORA-12899: Column "ZHENG". D_dic "." Dicexplain value is
1. Close the database instance:
Srvctl Stop instance-d tar-n RAC2
To stop a database instance on only one node RAC2
2. View database Instance Status:
Srvctl status database-d tar-f-V
My side four node cluster, currently only up Node 1 and Node 2.
3.
1. Oracle database Where Condition execution order:
Because SQL optimization is more complex and is subject to environmental constraints, writing SQL must follow the following guidelines during development:
1.ORACLE parses the WHERE clause in a
There are several Oracle log files: Warning log, trace log, audit log, redo log, archive log
Warning LOG: That is, alert logs, which corresponds to the background_dump_dest of the system initialization parameter file.
Trace log: Generally put
Reprint please indicate the source: http://blog.csdn.net/anxpp/article/details/51550479, thank you. 1. Overview
This article describes the string type and related functions, based on the current Oracle 12c.
The string is referred to as strings below.
Oracle InStr functions
For the InStr function, we often use this: to find the position of a specified substring from a string. For example:
Sql> Select InStr (' Oracle ', ' or ') position from dual;
POSITION
----------
1
Starts at the first position
Original address: http://hi.baidu.com/gukeming888/blog/item/2682f69481c8237154fb9662.html
Materialized views (materialized view), referred to as snapshots (Snapshot) in previous versions of Oracle. The materialized views of Oracle provide powerful
This is a sophomore time in the QQ space of an article, I remember that this problem took me the whole day to deal with it, so at that time to feel quite deep, So at that time deliberately recorded the process of this settlement, and today
Foreign key indexing is common sense and must be kept in mind. I did not want to write this simple case, but encountered several consecutive foreign keys without indexing caused performance problems, so write it.
A brother asked me to delete from
First of all, rownum and rowid meaning:
As the name implies RowNum is the line number/line number, and ROWID is the code/number/Unique identification number, so he is similar to the "Aaar8gaaeaaaaeraak" number, notice that he is not in order, that
Oracle Database Basics Tutorial: Getting Started is actually very simpleOracle database system is one of the most popular client/server databases at the moment. From the beginner's point of view, this anthology introduces the basic knowledge of
The database current character set is Al32utf8, if you intend to change the character set to ZHS16GBK, execute the following command:"ALTER DATABASE national CHARACTER SET internal_use ZHS16GBK"Can you achieve the desired goal?Let's take a look at
One, close Oracle services and background processes1. Review the installation's home directory and environment variables:
Echo $ORACLE _home
env | grep ORA
2. View the instance Name
Sqlplus/as SYSDBA
Select
A: oracle64&32 Build: Oracle & 32 All need to build, there is a special document, Baidu to search, a lot of, here do not say, (because do not want to add pictures, good trouble) (test all need to build, development seems to only need 64 bit of it,
You can use Sql>sqlplus/as when you log in SYSDBAwill prompt you to output the password, the direct return, you find unexpectedly can log in, as for this sqlplus level younger brother temporarily still do not know, next sql>alter user sys identified
--View PDB information (in CDB mode)show pdbs --查看所有pdbselect name,open_mode from v$pdbs; --v$pdbs为PDB信息视图select con_id, dbid, guid, name , open_mode from v$pdbs;--Switch containeralter session set container=orcl1 --切换到PDBorcl1容器alter session
One: The preparatory work 1): First of all, download two Oracle compressed files. Http://download.oracle.com/otn/nt/oracle11g/112010/win64_11gR2_database_1of2.zip
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.