2014년 8월 4일 월요일

Systen User로 다른 User의 Table을 또다른 User에게 grant시 에러[오라클개발자교육/오라클/ORACLE강좌/오라클교육잘하는곳/오라클교육추천/ORACLE실무교육/ORACLE/ORACLE교육/ORACLE학원/오라클실무교육]




SQLPLUS>connect system/password; 
SQLPLUS>grant select on scott.emp to user1; 
이렇게 하면 권한이 불충분하다는 에러가 나오는 경우의 처리방법 

system user가 grant any privilege가지고 있다고 할 지라도 
다른 유저의 개체에 대한 privilege를 또 다른 유저에게 grant 하려면 
그 개체는 "with grant option" 으로 grant되어 있어야 합니다. 

방법] 

SQL> connect scott/scott_pass 
    Connected. 

SQL> grant select on emp to system with grant option; 
  Grant succeeded. 

SQL> connect system/system_pass 
  Connected. 

SQL> grant select on scott.emp to user1; 
  Grant succeeded. 



평일주간[100%환급과정]
(8/08)Spring,MyBatis,Hibernate실무과정
(8/08)C#4.0,WinForm,ADO.NET
(8/11)SQL기초에서 Schema Object까지
(8/11)채용예정교육
(8/18)자바기초JDBC,Servlet/JSP까지
(8/18)안드로이드개발자과정
(8/18)PL/SQL,ORACLE HINT,TUNING
평일야간[개인80%환급]
(8/06)JSP,jQUERY,Spring,MyBatis
(8/11)SQL기초에서실무까지
(8/11)안드로이드개발자과정
(8/12)Spring, MyBatis, Hibernate
(8/13)C#,Network,ADO.NET,ASP.NET
(8/13)HTML5,CSS3,Ajax,jQuery마스터
(8/28)자바JSP,jQuery,Spring,MyBatis
주말주간[개인80%환급]
(8/09)SQL기초에서실무까지
(8/09)안드로이드개발자과정
(8/09)자바JSP,Ajax,jQuery,Spring,MyBatis
(8/16)C#,ASP.NET마스터(8/16)웹퍼블리싱 마스터
(8/16)Spring, MyBatis, Hibernate
(8/23)JAVA,Network&WEB&Framework
주말야간[개인80%환급]
(8/09)SQL기초에서실무까지
(8/23)JAVA,Network&WEB&Framework

댓글 없음:

댓글 쓰기