oracle grant 语句的GRANT privilige TO user IDENTIFIED BY password 语法的再次试验-user已经存在但是赋予不同密码...

oracle grant 语句的GRANT privilige TO user IDENTIFIED BY password 语法
-user已经存在但是赋予不同密码


C:Documents and SettingsAdministrator>sqlplus scott/aaaaaa@lei

SQL*Plus: Release 11.1.0.6.0 - Production on 星期六 10月 8 22:01:59 2011

Copyright (c) 1982, 2007, Oracle. All rights reserved.


连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断


C:Documents and SettingsAdministrator>sqlplus system/aaaaaa@lei

SQL*Plus: Release 11.1.0.6.0 - Production on 星期六 10月 8 22:04:48 2011

Copyright (c) 1982, 2007, Oracle. All rights reserved.


连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER
2 ;

授权成功。

SQL> exit
从 Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断


C:Documents and SettingsAdministrator>sqlplus scott/aaaaaa@lei

SQL*Plus: Release 11.1.0.6.0 - Production on 星期六 10月 8 22:05:05 2011

Copyright (c) 1982, 2007, Oracle. All rights reserved.

ERROR:
ORA-01017: invalid username/password; logon denied


请输入用户名:

试验结论:

GRANT privilige TO user IDENTIFIED BY password 语法 当此user用户存在时,会更新此用户的密码,这算一个修改密码的方法了。呵呵。。

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/161195/viewspace-1055514/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/161195/viewspace-1055514/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值