刚刚装上Oracle, 下面记录一下命令:
1. 控制台: sqlplus回车
2. 登陆: conn sys/as sysdba;
3. 创建用户: create user userName identified by password;
创建用户 userName,密码为 password
4. 给用户授权: grant dba to lxg;--授予DBA权限 grant unlimited tablespace to lxg;--授予不限制的表空间 grant select any table to lxg;--授予查询任何表 grant select any dictionary to lxg;--授予 查询 任何字典