摘要: 添加用户NewA对用户OldB只有select 的权限步骤:1. 新建用户SQL> create user newA identified by"admin";用户已创建。SQL> grant connect,resource to newA;授权成功。SQL>2.用OldB(如:scott)进行连接,用拼字符串的方式来将scott用户的select权限赋予新用户newA,并执行拼成的select串。SQL> conn scott/admin;已连接。SQL> Select 'grant select onscott.'||ta 阅读全文
posted @ 2010-01-28 19:46 hibernate例子 阅读(181) 评论(0) 推荐(0) 编辑