📅  最后修改于: 2022-03-11 15:05:08.094000             🧑  作者: Mango
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');