读书人

oracle 下令-不断完善中

发布时间: 2012-08-03 00:12:14 作者: rapoo

oracle 命令--不断完善中
1 查询当前的数据库版本:
select * from product_component_version;
2 查询组件级信息:
select * from V$version;
3 为用授权和取消授权:cw(cw=command window)
grant <powername> to <username>;
revoke <powername> from <username>;
4 修改用户密码:cw
alter user <username> identified by <newpassword>;
5 查看密码文件成员:
select * from V$pwfile_users;

读书人网 >其他数据库

热点推荐