您的位置:首页 > 其它

建立用户并授予权限的简单脚本

2010-02-21 23:34 197 查看
create_user.sql

set term off
set echo off
set feedback off
create user &&1 identified by &&2
default tablespace users
temporary tablespace temp
quota &&3.M on users;
grant connect,resource to &&1;


执行

spool 2010-2-21.log
@create_user.sql test_name password quota_size
spool off
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: