当前位置:网站首页>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;
边栏推荐
- The use of async (asynchronous) and await
- 绿盾加密如何顺利切换成IP-Guard加密
- Four functional interfaces
- 3 Module 2: Use of scientific research tools
- 2022年Android面试中最常问的问题是什么?
- FPGA engineer interview questions collection 111~120
- [Embedded open source library] The use of cJSON, an efficient and streamlined json parsing library
- nodes服务器
- Redis-使用jedis连接linux中redis服务器失败的解决方案
- Optimization is a kind of habit low starting point is the "standing near the critical"
猜你喜欢

IP-Guard如何禁止运行U盘程序

Switches and routers technology - 21 - RIP routing protocol

Switches and routers technology - 26 - configure OSPF peripheral area

prometheus:(二)监控概述(你永远逃不出我的手掌哈哈)
![[E-commerce operation] How to formulate a social media marketing strategy?](/img/fe/fc1270e608abbce02f83fcb712e562.jpg)
[E-commerce operation] How to formulate a social media marketing strategy?

Oracle中如何用一个表的数据更新另一个表中的数据_转载

宝塔Linux环境下redis开启多端口

2021 Network Planning Designer Afternoon Case Questions
![[ARM] rk3399 mounts nfs error](/img/0c/f9f0a2f3850cd55d8bebbee7f898de.png)
[ARM] rk3399 mounts nfs error

Switch and Router Technology - 36-Port Mirroring
随机推荐
应用层协议——DNS
Delphi7 learning record - demo example
Switch and Router Technology-33-Static NAT
paddlepaddle实现CS_CE Loss且并入PaddleClas
Prometheus :(一)基本概念
2021年网络规划设计师下午案例题
Mysql introductory exercise
MyEclipse数据库工具使用教程:使用驱动程序
Optimization is a kind of habit low starting point is the "standing near the critical"
[QNX Hypervisor 2.2用户手册]10.15 vdev timer8254
C语句:数据存储
代码在线审查(添加网页批注)的实现
Network Skill Tree
报表控件Stimulsoft报告中的数据矩阵条形码介绍
4 Module 3: Literature Reading and Research Methods
【ARM】rk3399挂载nfs报错
【嵌入式开源库】cJSON的使用,高效精简的json解析库
Thymeleaf
Four functional interfaces
每周推荐短视频:你常用的拍立淘,它的前身原来是这样的!