📜  oracle 回滚 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:26.104000             🧑  作者: Mango

代码示例1
SELECT CASE
           WHEN bitand(FLAG, power(2, 7)) > 0 THEN 'Rolling Back'
           ELSE 'Not Rolling Back'
       END AS "Rolling Back Status"
FROM V$TRANSACTION
WHERE ADDR IN (SELECT TADDR FROM V$SESSION WHERE USERNAME = 'USER_NAME');