[英]Can I change isolation level in Oracle?
I'm writting a transaction in Oracle.我正在 Oracle 中编写事务。 Can I change isolation level within this transaction for one select statement?
我可以在此事务中为一个 select 语句更改隔离级别吗? Now I have Read Commit, and I want within transaction change this once to serializable and next back to the read commit.
现在我有读取提交,我想在事务中将其更改为可序列化,然后再回到读取提交。
Best Regards, Gregory最好的问候,格雷戈里
In SQL, you can use the SET TRANSACTION statement在 SQL 中,可以使用SET TRANSACTION语句
For example:例如:
set transaction isolation level serializable;
set transaction isolation level read committed;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.