`
zhzhiqun2005
  • 浏览: 220174 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

oracle命令笔记

阅读更多
1.远程登入数据库。
   sqlplus sys/oracle@VMorcl as sysdba
  如果不是远程则不需要@VMORCL,此是数据库客户端的实例
2. 创建用户以及分配表空间
   create user snpm identified by snpm default tablespace users;
3. 授权
  grant connect,resource to snpm;
4. 查找当前有哪些用户
  select * from all_users;
5. 更改权能,解锁
alter user SCOTT account unlock;
alter user scott identified by tiger;
grant connect,resource to scott;
grant create view to scott;
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics