例如: connect system/manager grant dba to scott; //赋权限 revoke dba from scott;//收回权限
这些操作是在SQLPLUS中进行的吗。
我在运行里执行CMD后,再执行 connect system/manager grant dba to scott; //赋权限 revoke dba from scott;//收回权限这些内容却不行啊。
connect system/manager grant dba to scott; //赋权限 revoke dba from scott;//收回权限这些语句是sqlplus执行的.如果在cmd中的话: sqlplus system/manager@XXXdb 然后再执行 connect system/manager grant dba to scott; //赋权限 revoke dba from scott;//收回权限 exit; //退出sqlplus
错了 连上数据库后不需要再"connect system/manager" ..... 然后再执行 grant dba to scott; //赋权限 revoke dba from scott;//收回权限 exit; //退出sqlplus
connect system/manager
grant dba to scott; //赋权限
revoke dba from scott;//收回权限
connect system/manager
grant dba to scott; //赋权限
revoke dba from scott;//收回权限这些内容却不行啊。
grant dba to scott; //赋权限
revoke dba from scott;//收回权限这些语句是sqlplus执行的.如果在cmd中的话:
sqlplus system/manager@XXXdb
然后再执行
connect system/manager
grant dba to scott; //赋权限
revoke dba from scott;//收回权限
exit; //退出sqlplus
连上数据库后不需要再"connect system/manager"
.....
然后再执行
grant dba to scott; //赋权限
revoke dba from scott;//收回权限
exit; //退出sqlplus