InStr (String,substring[,start[,occurence]])Third parameter, start the search locationThe fourth argument, the substring of the search appears several times.
such as: Select InStr (URL, ' X ', 1,2), URL from table_name where select_condition
Oracle 2010
Http://www.cnblogs.com/jiguixin/archive/2011/09/09/2172672.html
Download Address:
Http://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_client.zip
Unzip the downloaded zip file first and run the Setup.exe file.
Problems with JSP and Oracle are encountered(1) Write stored procedures in Oracle and read in Java find it is impossible to get a long type with getstring. and other varchar2 taken out together can be taken out as string valuesString
The For Loop Pl/sql language of the/* cursor provides the cursor's for loop statement, "Automatically performs the function of the cursor's open,fetch,close statement and circular statement," and when entering the loop, the cursor for Loop statement
This article mainly introduces the Oracle database of temporary table usage, I hope to be helpful to everyone's study and work.
One: Grammar webjx.com
In Oracle, you can create the following two types of temporary tables:
(1) Session-specific
http://blog.csdn.net/smstong/article/details/37659397
As a command line loyal user, the server-side software's operation dimension tends to use the command or the script completes, very hates the resource to occupy the very large GUI. Oracle
1.clob field Insert value Create or replace procedure Updateclob (
table_name in VARCHAR2,
field_id in Varchar2,
Field_name in Varchar2,
v_id in number,
V_pos in number,
V_clob in VARCHAR2)
Is
-- -------------------
/**//* Dynamic pl/sql, CLOB Field
Oracle_sid parameter, this parameter is used in the operating system, it is a description of the database we want the default connection instance, for a machine with more than one instance of the case, to be modified before the Conn/as SYSDBA
We are all familiar with the Recycle Bin in Windows, the file is deleted and placed in the Recycle Bin can be restored. The Oracle Recycle Bin works exactly the same way, there are some differences in the details of the implementation. In addition,
Trigger Execution Order:
1. When the form is opened:
(1) Pre-form
(2) Pre-block (Block level)
(3) When-new-form-instance
(4) When-new-block-instance
(5) When-new-record-instance
(6) When-new-item-instance
2. When you complete one line of records,
Oracle Multiple Table Association UPDATE statement
1 The simplest form of SQL code
--confirmed that all customer_id less than 1000 of the Customers table are ' Beijing '
Within the--1000 are the company to the country before the old customers in
Scenario Description:
1, to do a schema migration from Uat to PRD, UAT Environment has SYS users, PRD environment without SYS users, due to restrictions on permissions, no way to use EXPDP/IMPDP, had to choose Exp/imp command;
2, UAT and PRD
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)
Using Database oracle10g
The name of the database I am going to build is called db231 (three digits after the db+ number)
oracle_sid=db231
Oracle_base=f:\oracle\
Oracle_home=f:\oracle\product\10.2.0\db_1\
First, do not choose to install the
1. View Oracle Encoding command
Select Userenv (' language ') Nls_lang from dual;
2. The Change Order is as follows
sql> Conn/as sysdba sql> shutdown immediate;Sql> Startup Mountsql> ALTER SYSTEM ENABLE restricted session;sql> ALTER SYSTEM SET
First, ASM (Automated storage Management): ASM is a new feature of Oracle 10g R2 to simplify the management of Oracle databases, a volume manager delivered by Oracle itself, primarily to replace the LVM provided by the operating system. Not only
If you do not know the password for the System,sys user in Oracle, you can retrieve it as follows:First, the database is entered as a regular user:Execute the following command in Sql*plus:Sql>connect/as Sysdba (can also be connected in the
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