[Problem description]
The prompt "Oracle not support parallel transaction" is displayed when you call Dal to execute the stored procedure and write data to the database"
[Error cause]1. When a transaction does not end and starts another
Document directory
Read Committed Isolation
Serializable Isolation
Isoation eve)
The isolation level defines the degree of isolation between transactions.
Isolation level and concurrency are mutually contradictory: the higher the degree of
1. view the currently unlocked object
Example: Execute select * from aa for update to lock the table aa;
Method 1: query by SQL
Select 'alter system kill session ', ''' | trim (t2.sid) |', '| trim (t2.serial #) | ''';'
From v $ locked_object t1,
Check how a process executes related SQL statements in the Oracle database.
Copy codeThe Code is as follows: SELECT B. SQL _text, sid, serial #, osuser, machine
FROM v $ session a, v $ sqlarea B
WHERE a. SQL _address = B. address;
Query the SQL
Summary
NHibernate2.1.1 can finally call the stored procedure of Oracle, but you must use nhib.pdf. driver. oracleDataClientDriver Driver (Oracle. dataAccess. dll), but this will cause hbm2ddl. keywords throws an exception, so it is not
Assume that there is such a table:
Copy codeThe Code is as follows: create table S_Depart (
DepartId INT not null,
Parameter Name NVARCHAR2 (40) not null,
DepartOrder INT default 0,
Constraint PK_S_DEPART primary key (DepartId)
);
In oracle,
Session: a Session is called in a computer, especially in a network application ".
Session: In computer terminology, Session refers to the time interval between an end user and the Interaction System. It usually refers to the time between the user's
The ORACLE tutorial is: Oracle SQL Performance Optimization Series III. 8. Use the DECODE function to reduce processing time
You can use the DECODE function to avoid repeated scan of the same record or join the same table.
For example:
Select count
1. Oracle downloadNote that Oracle is divided into two files. After downloading, extract the two files to the same directory. In the path name, it is best not to show Chinese characters or irregular characters such as spaces.
Official Address: Bytes.
Today I encountered a strange problem:Using sqlplus on the client allows normal users to log on, but neither system nor sys users can log on, prompting ORA-12154: TNS: unable to resolve the specified connection identifierSQL> conn system @
During the development process, you may often encounter some tests. At this time, you may want to understand the testing process and analyze the code Errors Based on the process. In this case, you need to use custom exceptions. For more information,
The ORACLE tutorial is: Oracle RMAN Quick Start Guide.
Preface:
This article mainly introduces common methods of RMAN, including the author's experience, the experiment is also basically successful in Windows 2 K and ORACLE 8.1.6 environments
The ORACLE tutorial is: Oracle-based object-oriented technology basic analysis of the developer's network Oracle.
I. OverviewAn object is a new feature of Oracle8i and later versions. An object is actually an encapsulation of a set of data and
The ORACLE tutorial is an Oracle database operation skill set. [Editor's note:] Oracle (Oracle) is the first company to come up with databases ). Oracle has been in the leading position in the database field. Oracle relational database system is a
/*There are four functions that support regular expressions in ORACLE:1. REGEXP_LIKE: similar to LIKE2. REGEXP_INSTR: similar to INSTR3, REGEXP_SUBSTR: similar to SUBSTR4. REGEXP_REPLACE: similar to REPLACEThey are used in the same way as Oracle SQL
SQL statement for querying and deleting duplicate records1. Search for redundant duplicate records in the Table. duplicate records are determined based on a single field (peopleId ).Select * from peopleWhere peopleId in (select peopleId from people
Dbms_metadata.get_ddl () is used to obtain the object DDL. Its usage is as follows.Note: In sqlplus, the following parameters must be set to better display DDL:Copy codeThe Code is as follows:Set line 200Set pagesize 0Sets long 99999Set feedback
1. nested loop Join)Nested connection divides the dataset to be processed into an External Loop (driving data source) and an internal loop (Driven Data Source). An External Loop is executed only once (first ), the number of inner loop executions
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