A database transaction is a unit operation that either succeeds or fails all of the operations. In Oracle, a transaction starts with the execution of the first Data Manipulation language (DML) statement until a commit statement is executed, commits
1, separate download instantclient_10_2, in the cloud disk has2. Preference configuration path in Plsql3, E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN in the Listener.ora# Listener.ora Network Configuration
First, background:The specific scenario is that the database is not an ordinary OLTP system, more like an OLAP system, the data update frequency is very low, operating in the Noarchivelog mode, real-time requirements are low, but only one copy of
@echo off Echo ================================================ Echo automatic backup script for Oracle database in Windows echo 1. Use the current date to name the backup file. Echo 2. Automatically delete backups up to 30 days ago. echo ===========
Oracle Database user manages Oracle permissions settingsFirst, the Classification of rights:System permissions: The system specifies the user's permission to use the database. (System permissions are for users). Entity permissions: A permission user'
Recently found in Javaeye many comrades on the optimization of SQL seems to know very little, recently summed up a few for reference only, but a few may depend on the situation, most of it is quite effective.Note: The following (inefficient) and
1. The presence of Chinese characters in the query condition causes the Oracle query set to be empty Sql: StringBuilder sb = new StringBuilder (@ "SELECT * from Cux_ad_user a where 1=1");if (!string. IsNullOrEmpty (AD)){Sb. AppendFormat ("and lower (
2.TRUNC ( for number)The TRUNC function returns the processed value, and its working mechanism is very similar to the ROUND function, except that the function does not make the corresponding rounding selection processing of the specified fractional
1.1 Use of Oracle date objects(1) Create a date fieldFor exampleCREATE TABLE foo_7 (d1 date);(2) Use the to_date function to insert a date object. to_date (' string ', ' string format ') For exampleINSERT into foo_7 values (to_date (' November 20, 20
An excellent Oracle automatic backup script (exp for WINDWS)Zhu XiaoqueTime:2011-5-12First, the contents of the scriptSet mydate=%date:~0,10%Exp System/[email protected] full=y file=d:\ora_bak\data\hzic_%date%.dmpLog=d:\ora_bak\log\hzic-log_%mydate%.
before closing the backup control file/parameter file: Sqlplus/as Sysdbaalter Database backup controlfile to '/home/oracle/control.ctl.bak '; Create pfile= '/home/oracle/init& lt; instance name >.ora ' from SPFile;One, Oracle 11g RAC shutdown
Configuration for connecting to Oracle under php5.6September 03, 2014 PHP Development No Comments read 460 times First of all, I was under Windows, the system is win7 64-bitThis upgrade span is a bit large, has been used apache2.2, apache2.4
Oralce's Save command
You can use the save () command to save the content of the current buffer to a file, so that even if the content in the buffer is overwritten,
The syntax for saving the current statement is also retained as follows:
Save [file]
Image stored by oracle10.2.0.4rac in hpuxmcsg ModeA recent case:Status quo: hp-ux operating system, oracle 10.2.0.4 rac, mcsg mode, two ocr and three voting disks correspond to one lv in the same concurrent volume group.Objective: To create images
Detailed steps for building dataguard at ORACLE11G (all physical standby operations)Preface:DATAGUARD establishes a reference relationship by establishing a PRIMARY and STANDBY group. Once STANDBY is created, DATAGUARD passes the REDO of the PRIMARY
Oracle11g remote database Login
Oracle11g remote database login is simpler than any previous version,Nothing to do
1. OEM Login
Enter the remote database oem url in the browser, and change the localhost or host name to the IP address https
Installing oracle10 using SUSELinux and troubleshooting
I have summarized my experience in installing oracle10g on Redhat5.5 and SUSE10.1.
When SUSE10 is installed with OraRun, the oracle user, oinstall group, and dba group will be automatically
Oraclesubstr function usage
Oracle substr function usageObtain the string substr (string, start_position, [length]) with the specified start position and length in the string.For example:Substr ('this is a test ',6,2) Wocould return 'is'Substr
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