select fu.user_name 用户名, fu.description 用户说明, frv.RESPONSIBILITY_NAME 职责名称, REQUEST_GROUP_NAME 报表组, (select ppf.FULL_NAME from apps.per_people_f ppf where fu.employee_id = ppf.PERSON_ID and trunc(sysdate) between trunc(ppf.EFFECTIVE_START_DATE) a
select fu.user_name 用户名, fu.description 用户说明, frv.RESPONSIBILITY_NAME 职责名称, REQUEST_GROUP_NAME 报表组, (select ppf.FULL_NAME from apps.per_people_f ppf where fu.employee_id = ppf.PERSON_ID and trunc(sysdate) between trunc(ppf.EFFECTIVE_START_DATE) a
一.ORACLE 10g批量刷新用户密码 select 'alter user ' || username ||' identified by values '''||password ||''';' from dba_users where ACCOUNT_STATUS<>'LOCK' and ACCOUNT_STATUS not like 'EXPIRED%LOCKED'; 或者 select 'alter user ' || username || ' identified by val
整体思路:通过使用外部表将用户名导入Oracle的表中,然后通过PL/SQL遍历数据表,批量创建用户. 具体步骤如下: 1.在安装数据库的服务器的C盘根目录创建一个User List.txt文件,内容如下: 2.以sys用户登录数据库,创建directory对象. create directory test_d as 'c:\'; 3.给scott用户赋予读写directory对象的权限: grant read, write on directory test_d to scott; 4.切换到
http://www.orapub.cn/posts/1624.html 一.以下在Oracle APP中执行: 1) Set the Profile Option: ‘Initialization SQL Statement – Custom’ at the USER level to the following statement all on one line: 在用户层设置配置文件 Initialization SQL Statement – Custom的值为以下脚本(一般粘帖复制即可