ALTER system kill session '44, 19193';
and s.last_call_et > 120 ;
--修改用户秘密
alter user system identified by values 'tiger';
--还原误删的表
flashback table SYS_ACL to before drop;
select 'flashback table ' || r.original_name || ' to before drop rename to '|| r.original_name ||'; ' ,r.*
from recyclebin r
where r.type = 'TABLE'
and to_char(to_date(r.droptime, 'yyyy-MM-dd hh24:mi:ss'), 'yyyy-MM-dd') =
'2015-04-20'
create tablespace jypt datafile 'D:\oracle\product\10.2.0\oradata\jieyue\jypt.dbf ' size 100m autoextend on next 10m;
create user jypt identified by password default tablespace jypt;
grant dba to jypt;
#create tablespace loan datafile '\u01\app\oracle\oradata\sales\jieyue\loan.dbf ' size 100m autoextend on next 10m;
#create user loan identified by loan default tablespace loan;
#grant dba to loan;