- 1、本文档共29页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
个人总结oracle基本指令及常识(Personal summary of Oracle basic instructions and common sense)
个人总结oracle基本指令及常识(Personal summary of Oracle basic instructions and common sense)
创建表空间lx
tablespace lx.
datafile d: \ workspace \ oracle \ lesson2011 _ _ 3 \ lx.dbf size 8 m
修改表空间
alter tablespace mysp1
add datafile d: \ oracle . _. myspace seconde.dbf size 2m.
改变用户表数据默认存储的表空间 修改scott用户创建的数据默认存储在mysp1表空间): - - - -
alter user scott default tablespace mysp1.
more 删除表空间, 尽量保证表空间中存储的数据文件和数据彻底删除 - - - -
on the contents and datafiles tablespace mysp1.
oracle服务配置 relation
oracle用户 角色, 权限 .
- - - - - - - - - - - - - - - - - - 创建用户
create user test identified by vb;
its
the 系统管理员 拥有最高权限 .
system -- 本地管理员, 次高权限
scott. 普通用户, 密码默认为tiger, 默认未解锁
删除用户同时删除用户下面所拥有的所有数据
drop user test cascade;
- - - - - - - - - - 修改用户密码
alter user test identified by t123.
对用户授予表空间权限 official policy
- - - - - - - - - - - - - - - - - 授予登陆权限
grant create session to test.
- - - - - - - - - 授予创建表 | 插入表 | 删除表 | 修改表的权限 - - - - - - -
grant create | insert | drop | update table to test;
- - - - - - - - - - - - - - - - - - - - - - - 授予使用表空间的权限? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ????
grant resource to test.
- - - - - - - - - - - - - - - - - - - - - - - 授予使用表空间的权限? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ????
grant unlimited session to zhangsan
- - - - - - - - - - - - - - - 授予大多数的权限
grant dba, connect to the resource, test;
- - - - - - - - - 这条比较重要, 授予所有权限 (all) 给所有用户 (public) - - - - - - - - -
grant all to public
and you 用户间权限操作
these oralce对权限管理比较严谨, 普通用户之间也是默认不能互相访问的, 需要互相授权 co.
授予权限 number
- - - - - - - - - 授予查看 | 插入 | 删除 | 修改指定表的权限 - - - - - - -
grant select | insert | drop | update on tablename to zhangsan
- - - - - - - - - 授予对表特定字段的插入 | 修改的权限 (注意: 只有插入和修改可以指定特定字段) - - - - - - -
grant insert, update, 字段名或字段列表) | 字段名或字段列表) on tablename to zhangsan.
- - - - - - - - - - - - - - - - - - 授予alert任意表的权限
grant alert all table to zhangsan
- - - - - - - - - 注意: 被授予的权限只能是当前登录用户的权限, 而且还是他能授予的, 就像允许人家随意进出你家的门, 只能是你, 理论上讲即使是国家主席也没权利授予, 收回亦然 - -
您可能关注的文档
- 三级服务标准(Three level service standard).doc
- 七月十五烧纸钱风俗(In July fifteen the custom of burning paper money).doc
- 三基试题名词解释(Three questions Glossary).doc
- 三轮推进,稳扎稳打,知能并重,争创辉煌(Three forward, steady, knowledge of both, create brilliant).doc
- 三角函数_8-47(Trigonometric function _8-47).doc
- 上市遇挫急缺钱 太古220亿变卖资产(Swire listed setback so short of money selling assets 22 billion).doc
- 七年级地理下册复习要点(Grade seven geography book review points).doc
- 上财03考研西经试题与答案(Under 03 PubMed West through questions and answers).doc
- 上海(Shanghai).doc
- 专业压限器的使用技巧(Professional pressure limiter using skills).doc
文档评论(0)