One use rule: before begin, affirm: PRAGMA autonomous_transaction;Two-use understanding:Autonomous Transaction is an independent transaction, which is understood autonomous transactionThe key, though called by the main transaction. Let's use an
First, the user· System users Sys,systemSYS and system are highly privileged users, and SYS is higher than the system permissions. Use SYS to log in must use SYSDBA or Sysoper permissions, and use system to log in directly. SysmanSysman is used to
Stored procedures are not used in small companies, but if the business is complex or the performance requirements are more stringent when the stored procedures come in handy, some of the earlier version of Ibatis does not seem to support stored
Because of Microsoft in the. NET Framework 4.0 has decided to revoke the use of System.Data.OracleClient, resulting in the inability to connect to the Oracle database in VS2010, but it still exists in the. NET schema and we can refer to it by
1. Use high-speed storage devices to improve reading and writing capabilities such as: EMC and NetApp,2. If there is no data in the TAB1 tableDROP TABLE TAB1;CREATE TABLE TAB1 as SELECT * from TAB2;And then create the index3. Use hint tips to reduce
The original web site data is stored in SQL Server, which combs the field relationships of the data tables and needs to be imported into the Oracle database. Several solutions are available online. One is to export directly to servers with SQL
An error occurred during Oracle logon, causing the user to be unable to log on with the following error-------------------------------------------------------------------------ORA-00604: A recursive SQL Level 1 error occurredORA-01653 table sys.aud$
recently, because the unit has asked for a demand, to determine the user name provided does not have full-width characters, at least two characters. Looking for a long time, want to use regular expression to solve, but the test of time to find that
1, Function: Add_months (Date,integer)--Add the specified time to a few monthsFor example:SELECT add_months (sysdate, 1) from DUAL; -The current time plus 1 months, that is, one months after the time. SELECT add_months (Sysdate,-1) from DUAL; --The
1. Creation of tablesCreate table student02 (Sno number); 2. Deletion of tablesDrop table student02; 3. Renaming a tableRename student02 to student01; 4. Changes to the tableALTER TABLE student01--column modification add OB numbermodify ob
To_date () is one of the representative functions of Oracle database functions, and the following is a detailed description of several uses of the Oracle To_date () function,Original address: http://database.51cto.com/art/201010/231193.htmIn Oracle
This event is definitely the last technology event in Oracle database!This technology event, sponsored by Oracle University, the Oracle Western User group, Chongqing si Zhuang Technology Co., Ltd. full sponsorship!This technical lecturer-China West
21, stored procedures, simplify complex operations, increase data independence, improve security, improve performanceCompare with function creation:The Create or Replace function fun_01 (v_01 in number) return number--must require a return value
Two parameters of the Oracle sequence: Nextval and CurrvalI will use one of the following examples to reflect the difference between the two parametersTo create a sequence:Note: Before calling the value of Currval, you must first call the value of
--View the Oracle database character set:Select Userenv (' language ') from dual;Query Result:Simplified Chinese_china. Al32utf8--Modifying the Oracle Database Character set: (In SQL Plus)Sql> Conn/as sysdba;sql> shutdown immediate;Database
Oracle 11gWhen the SQL statement does not add an order by, it appears that the result is returned in the order of ROWID.I've also seen some of the relevant documentation, and the official meaning of Oracle is that without order by, the order of
select table_name from user_tables; //tables owned by the current user select table_name from all_tables; //table for all users SELECTTABLE_NAMEFROMDBA _tables; //includes system table select table_name from dba_tables where owner= ' user
Prepare the VNC environment for installing oracle11g under the centos Virtual Machine of Microsoft cloud
The company is preparing to use Microsoft ECs, so we need to test it first. oracle11g also needs to be migrated to Microsoft ECS.1. Check
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