create user lisi identified by lisi
grant create session to lisi //登陆会话权限
grant create table to lisi
grant unlimited tablespace to lisi 使用空间的权限
select * from user_sys_privs //当前用户拥有的权限
select * from user_tab_privs //当前用户拥有的权限
select * from user_col_privs
revoke create table from lisi //撤销权限
grant create any table to public //给所有用户授权
lisi grant select on mytab to wangwu
grant all on mytab to wangwu 对象权限 wangwu 可以看lisi 的表
grant update(name) on mytab to lisi //权限控制到某一列 select delete不行
grant create any table to public with admin option //权限传递
grant all on mytab to wangwu with grant option
080609 oracle 安装 后 改变 计算机名会导致不可用TNSListener
数据库 导入 导出 exp imp 必须在cmd中 不要在 sql中
set linesize 1000;
set pagesize 100;
col is_leaf for a20;
select * from t_client;
SQL> ed
已写入 file afiedt.buf