There is no indexof () function in Oracle
but provides a InStr () method specific use:
Select InStr (' Baoding Nanshi District ', ' City ', 1,1)-1 from dual;
Explanation: 1. The ' Baoding Nanshi District ' => can be an expression, or it can be a
-----------Case one: Create table spaces and users
/* 1th step: Create temporary table space/*Create temporary tablespace ivms86x0_temp----test successfully. Note: The table space name can not be repeated, even if the storage location is
Memory optimization has always been a database or operating system optimization of the most important. Memory optimization is also the key to performance optimization in Oracle database architecture. Optimizing memory primarily improves system
In Oracle, there are two alternative parsing processes, hard parsing and soft parsing, for a committed SQL statement.
A hard resolution needs to be parsed, the execution path developed, and the access plan optimized. Hard parsing not only consumes a
Oracle version 10.1.0
A simple SQL, executed in the Pl/sql, the table has more than 20 W records:
SELECT * from table (1s)
SELECT * FROM table ORDER BY date_report Desc (18s)
Plus ORDER BY date_report Desc After the cost of 18 seconds, such
View database nameSql> select name from V$database;NAME---------ORCLsql> desc v$database;is the name empty? Type----------------------------------------- -------- ----------------------------DBID numberNAME VARCHAR2 (9)CREATED DATEresetlogs_change#
Server: Oracle 11g (I am the default path installation, the custom path is not successful, do not know why)Client: ArcGIS Desktop 10.2, Oracle 11g 32-bit clientClient: ArcGIS Server 10.2, Oracle 11g 64-bit client1. Oracle 11g is installed on the
ORA-00844: Parameter not taking memory_target into account, see Alert Log for more information.
Solution: Create a pfile and modify the value of memory_target to solve the problem.
Example:1. Create pfileSQL> Create pfile = '/home/Oracle/initora1
It was tortured by ODBC connection to Oracle for a long time. As a result, Baidu n found that the sqoras32 error could have been solved as follows:
Directly download sqoras32.dll of multiple versions and use sqoras32.dll for any version of Oracle,
1. Install Oracle 10g RAC in the Oracle Linux environment on the vmvm
This article references:
Http://www.oracle.com/technology/global/cn/pub/articles/chan-ubl-vmware.html
Http://www.oracle.com/technology/global/cn/pub/articles/smiley_rac10g_install.
/* Divided into four steps * // * Step 4: create a temporary tablespace */create temporary tablespace user_temp tempfile 'C: \ hy \ oracle \ product \ 10.2.0 \ tablespace \ user_temp.dbf 'size 50 m autoextend on next 50 m maxsize 20480 M extent
Db_name: Unique identifier of a database (Oracle database. This expression is sufficient for a single database, but with the popularization of distributed databases composed of multiple databases, this method of Command database creates a certain
Oracle exceptions include pre-defined exceptions and custom exceptions (in my opinion ).
The predefined exceptions include anonymous and non-Anonymous exceptions.
(Anonymous exception: no name like ORA-00371;
Non-Anonymous exception: there is a
At this time, I found a good document for recovery and backup. I only wanted to start Oracle database development. So I only studied logminer. Others for the moment, but only excerpted some of them.
Oracle availability plan:
• Computer faults: Quick
In the development environment and UAT environment, you often encounter the need to clear archived logs. There are many ways to solve this problem. You can use RM to clear archived logs directly, or use the find command to find matching records to
In some specific circumstances, sometimes you need to connect to the specified instance in RAC from the client, instead of dynamically selecting the client load_balance or forwarding the server listener Based on the load situation. In this case, you
The syntax of SQL fuzzy query is"Select column from table where column like 'pattern ';".SQL provides four matching modes:1.% indicates any 0 or multiple characters. Statement:Select * from user where name like '% 3% ';We will find all the "three"
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data. The exp command can export data from the remote database server to the local DMP file, and the IMP command can import the DMP file from the local to
Sequence CreationCreate sequence name (for example, "urlimage_seq") minvalue 1 maxvalue 999999999999999999999999999 increment by 1 start with 101 Cache 10 noorder nocycle;
Trigger triggerCreate or replace trigger name (for example,
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