![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
数据库
文章平均质量分 55
课程
Kallymi
这个作者很懒,什么都没留下…
展开
-
数据库 — — 完整性
增删约束alter table student add constraint pk_sno primary key(sno);alter table student drop constraint pk_sno (cascade);与约束相关的数据字典视图select * from all_constraint; --当前用户可访问的所有约束定义信息select * from user_constraint; --当前用户拥有的所有约束定义信息select * from d原创 2021-04-24 13:55:48 · 74 阅读 · 0 评论 -
数据库 — — 安全性
tips:用到的数据库是Oracle Database 11g对象权限授予授权与回收:grant 与 revokegrant(revoke) 权限列表 on 对象 to(from) 用户 with grant option;grant(revoke) all privileges on 对象 to(from) public ;从 数据字典视图 查询权限情况:select * from user_tab_privs; --all_tab_privsselect * form原创 2021-04-24 13:42:51 · 78 阅读 · 0 评论