08 2024 档案
摘要:1.查看事务id select xid from v$transaction; 2.查看当前scn值 select current_scn from v$database; select dbms_flashback.get_system_change_number from dual; 3.查看锁
阅读全文
摘要:1、 declare e_emps_remaining exception; pragma exception_init(e_emps_remaining,-2292);begin delete from dept where deptno=20; exception when e_emps_rem
阅读全文
摘要:显示打印结果set serverout on; 1、 declare v_ename scott.emp1.ename%type;v_emp1 scott.emp1%rowtype;begin select ename into v_ename from emp1 where empno=7788;
阅读全文