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; 查看被锁定的表