oracle 数据库普通用户下的基本操作(1)
来源:互联网 发布:淘宝店怎么添加音乐 编辑:程序博客网 时间:2024/06/08 18:46
Oracle Database 11g Express Edition
1、显示当前用户名
select user from dual;
show user
2、显示当前用户下有那些表
select * from tab;
3、显示当所有用户的表
select * from user_tables;
4、显示当有用户可以访问表
select * from all_tables;
5、显示某个用户名下的表
select * from dba_tables where owner='用户名';
6、显示所有用户名和帐户的状态
select username,account_status from dba_users;
7、显示所有用户信息
select * from dba_users;(一般情况下显示的是加密的如:select password from dba_users where username='BIT';)
8、将BIT帐号解锁(加锁)
alter user BIT account unlock(lock);
9、当前用户的缺省表空间
select default_tables from dba_users where username =(select user from dual);(普通用户下应该不可以进行)
0 0
- oracle 数据库普通用户下的基本操作(1)
- Oracle数据库的基本操作
- oracle 数据库的基本操作
- Oracle 数据库基本操作
- oracle数据库基本操作
- oracle 数据库基本操作
- Oracle数据库基本操作
- oracle数据库基本操作
- oracle数据库基本操作
- oracle数据库基本操作
- ORACLE数据库基本操作
- oracle数据库基本操作
- Oracle基本数据库操作
- oracle数据库基本操作
- Oracle 数据库基本操作
- Oracle数据库的基本操作整理
- C# 数据库的基本操作(oracle)
- c#对oracle数据库的基本操作
- Java基础:面向对象
- 华为手机打开log.v和log.d
- jfinal + uploadify 插件小问题
- wireshark linux cooked capture
- samba移植到android流程
- oracle 数据库普通用户下的基本操作(1)
- 多线程学习总结(十一)——线程安全之线程间的通信notify和notifyAll
- poj 1837 Balance -dp-01背包
- 一个Q_learning代码的简明教程实现
- 利用matplotlib在python上绘制3D散点图
- C语言学习日记05
- 数据挖掘方法和步骤
- java中的数据存储
- 达内学习笔记——运行时类信息