当前位置:网站首页>Oracle常用语句归纳_持续更新
Oracle常用语句归纳_持续更新
2022-08-11 05:12:00 【小匠石钧知】
前言
工作中使用到了一些零碎的Oracle数据库语句,大多是关于数据库管理的。现在记录如下。
归纳
1 Oracle如何查找表所在的模式?
select * from dba_tables where table_name like '%表名%'
2 Oracle如何给用户授予某个表的权限?
# select,update,insert,alter,index,delete 这6个可以随便选几个
grant select,update,insert,alter,index,delete on 模式名.表名 to 用户名
# 下面的语句是授予表的全部权限
grant all on 模式名.表名 to 用户名
3 查看某个用户所拥有的权限
# 查看当前用户所有权限
select * from user_sys_privs;
# 查看所用用户对表的权限
select * from user_tab_privs;
# 查看所用用户对表的权限 (简化版)
select distinct grantee,owner,table_name from user_tab_privs;
边栏推荐
- BGP综合实验
- Unity WebGL RuntimeError: integer overflow(整数溢出问题)
- C Language: Practical Debugging Tips
- 宝塔Linux环境下redis开启多端口
- 批量修改数据库等视频文件名称
- [QNX Hypervisor 2.2用户手册]10.15 vdev timer8254
- 【电商运营】社交媒体营销策略该如何制定?
- ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/data/xxxx
- Linux中安装redis
- 论文笔记:Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks
猜你喜欢

Switches and routers technologies - 30 - standard acls

实战noVNC全过程操作(包含遇到的问题和解决)

Win10远程连接(实现多用户同时连接)

Switch and Router Technology-27-OSPF Route Redistribution

C语句:数据存储

Weekly recommended short video: your commonly used Polaroid, its predecessor turned out to be like this!

HAVE FUN | "SOFA Planet" spacecraft plan, the latest progress of source code analysis activities

C statement: data storage

Switch and Router Technology - 22/23 - OSPF Dynamic Routing Protocol/Link State Synchronization Process

Paper Notes: Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks
随机推荐
[Embedded open source library] The use of MultiButton, an easy-to-use event-driven button driver module
什么是三次握手和四次挥手(清晰易懂)
MFC 进程间通信(共享内存)
Mysql入门练习
群晖DS220+ 应用小笔记
金仓数据库 KingbaseGIS 使用手册(6.8. 几何对象输入函数)
【ARM】rk3399挂载nfs报错
The use of async (asynchronous) and await
Configure checkstyle in IDEA
Kong implements ban on foreign IP access
FPGA engineer interview questions collection 121~130
代理模式(简要介绍)
[FPGA tutorial case 50] Control case 2 - FPGA-based PD controller verilog implementation
Optimization is a kind of habit low starting point is the "standing near the critical"
Switch and Router Technology-33-Static NAT
Golden Warehouse Database KingbaseGIS User Manual (6.8. Geometry Object Input Function)
面试题整理
How to read a paper
四大函数式接口
一个月闭关直接面进大厂,这份Android面试笔记是真的牛逼