oracle 常用命令(查看oracle字符集)

xiaoxiao2021-02-28  58

select userenv('language') from dual;    查看oracle字符集

 

alter user scott account unlock; 解锁

 

select username,lock_date from dba_users where username='scott';    查看锁定时间

 

select b.owner,b.object_name,a.session_id,a.locked_mode from v$locked_object a,dba_objects b where b.object_id = a.object_id;    查看被锁定的表

转载请注明原文地址: https://www.6miu.com/read-35547.html

最新回复(0)