发布时间:2014-12-12 17:37:57
sql>SELECT username,PROFILE FROM dba_users;
2、查看指定概要文件(如default)的密码有效期设置:
sql>SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
3、将密码有效期由默认的180天修改成“无限制”:
......【阅读全文】
发布时间:2014-12-12 17:36:23
select sql_text,a.sql_id,sample_time,sql_opname,machine from v$sql a ,dba_hist_active_sess_history b where a.sql_id = b.sql_id
查询历史sql
select utl_inaddr.get_host_address('dbpay') from dual;
把主机名转换成ip
(主机名需要在hosts文件内)......【阅读全文】