创建用户 -- Create the user create user U_HQ_JAVA default tablespace USERS temporary tablespace TEMP profile DEFAULT password expire;-- Grant/Revoke role privileges grant connect to U_HQ_JAVA;grant dba to U_HQ_JAVA;-- Grant/Revoke system privileges grant…
select p.spid,a.serial#, c.object_name,b.session_id,b.oracle_username,b.os_user_name from v$process p,v$session a, v$locked_object b,all_objects c where p.addr=a.paddr and a.process=b.process and c.object_id=b.object_id ;…