ÁÉ­}ºô > IT§Þ³N ¼Æ¾Ú®w > ¶EÂ_®×¨Ò
  IT¸ê°T·j¯Á
 
IT²£«~·j¯Á
[µ{¦¡¶}µo][ºôºÞ¥@¬É][ºô¸ô¦w¥þ][¼Æ¾Ú®w§Þ³N]
[§@·~¨t²Î][¹Å»«²á¤Ñ¡P½u¤W³X½Í][¬¡°Ê¶°ÀA]
[ºë±m±MÃD][Symantec±M°Ï][­q¾\IT§Þ³N¶g¥Z]
[¶}µo½×¾Â][ºôºÞ½×¾Â][¦w¥þ½×¾Â][¼Æ¾Ú®w½×¾Â]
[§@·~¨t²Î½×¾Â][Sybase±M°Ï][IBM dW§Þ³N±M°Ï]
[¯f¬r¨D§U][¯f¬r»Pº|¬}¼½³ø][¤åÀÉ¡P·½½X¤U¸ü]

°ÊºADDL°õ¦æ»PSchema ObjectsÅã¥Ü±ÂÅv°ÝÃD

µo§G®É¶¡¡G2008.07.25 08:51     ¨Ó·½¡GÁÉ­}ºô    §@ªÌ¡G¬_¸¦´µ

¡iÁÉ­}ºô¡ÐIT§Þ³N³ø¹D¡j³o¬O¤@­Ó¤j®a±`¨£ªº°ÝÃD,¤]¬O«Ü®e©ö©¿²¤ªº°ÝÃD,¤×¨ä¬O¦bProcedureùØ­±°ÊºA°õ¦æDDL»y¥yªº®É­Ôµo¥Í. §Ú­Ì¥²¶·¨Ï¥ÎÅã¥Ü±ÂÅv¤è¦¡¨Ó«OÃÒDDLªº°õ¦æ³\¥iÅv, ¦Ó¤£¯à³q¹Lroleªº¶Ç»¼¤è¦¡,¤U­±¬O¤@­Ó²³æªº´ú¸Õ¹Lµ{¨ÓÅçÃÒ³o¤@ÂI.

°Ñ¦Ò»¡©ú:

If the referenced item is indeed declared and you believe that you have privileges to refer to that item, check the privileges; if the privileges were granted only via a role, then this is expected and documented behavior. Stored objects (packages, procedures, functions, triggers, views) run in the security domain of the object owner with no roles enabled except PUBLIC. Again, you will be notified only that the item was not declared

Test steps:

SQL> create user chris identified by pass;

User created.

SQL> grant dba to chris;

Grant succeeded.

SQL> connect chris/pass;

Connected.

SQL> create table test1 (name varchar2(10));

Table created.

--Success here.

SQL> drop table test1;

Table dropped.

SQL> create or replace procedure chris_cr_tbl

2 IS

3 begin

4 execute immediate 'create table test1 (name varchar2(10))';

5 end;

6 /

Procedure created.

SQL> exec chris_cr_tbl;

BEGIN chris_cr_tbl; END;

*

ERROR at line 1:

ORA-01031: insufficient privileges

ORA-06512: at "CHRIS.CHRIS_CR_TBL", line 4

ORA-06512: at line 1

--Failed Here

SQL> connect test/oracle

Connected.

SQL> grant create table to chris;

Grant succeeded.

--Explicit Grant

SQL> connect chris/pass

Connected.

SQL> exec chris_cr_tbl;

PL/SQL procedure successfully completed.

SQL> select table_name from all_tables where owner='CHRIS';

TABLE_NAME

------------------------------

TEST1

SQL> drop table test1;

Table dropped.

¡]³d¥ô½s¿è¡G¿c¥üªL¡^


[ µoªíµû½× ] ¦rÅé[ ¤j¡B¤¤¡B¤p ] [ ¦C¦L ] [ ¶i¤J³Õ«È ] [ ¶i¤J½×¾Â ]  [ ±ÀÂ˵¹ªB¤Í ]
  ¡i¬ÛÃö¤å³¹¡j
¡P Oracle 9i»´ÃP¨ú±o«Øªí©M¯Á¤ÞDDL»y¥y (12-18) ¡P Oracle¤¤´£¨ú©M¦sÀx¼Æ¾Ú®w¹ï¶HªºDDL (12-13)
  ¡i«È¤á»Ý¨D¤ÏõXªí¡j
* ©m¡@¡@¦W:
§ó¦h¸ê®Æ¡@ ¤F¸Ñ¤è®×¡@ »{ÃѼt°Ó
* ³æ¦ì¦WºÙ:
* Ápô¹q¸Ü:
* ¹q¤l¶l¥ó:
  ÁÉ­}±ÀÂË  
  ¤â¾÷¡P¸ê¶O ¡P·s«~¡P¾ÉÁÊ¡Pµû´ú¡P¤â¾÷¸ê¶O¡P¼e±a
¤â¾÷·j¯Á  ¿Õ°ò¨È N73 MOTO Z6
  IT²£«~ ¡Pµ§°O¥»¡P»O¦¡¾÷¡P¦øªA¾¹¡P¦C¦L¡P§ë¼v
IT²£«~·j¯Á 
  IT§Þ³N ¡P¶}µo¡PºôºÞ¡P¦w¥þ¡P¼Æ¾Ú®w¡P§@·~¨t²Î
  ¸ê°T¤Æ ¡P¼öÂI¡P±MÃD¡P³X½Í¡P¶g¥Z¡P¤è®×®×¨Ò
¡P ¸ê°T¤Æ¥«³õ¦Ê®aª§»ï SaaS²`³´ª§Ä³¡§ªd¼æ¡¨
¡P ´£°ªºÞ²z¤ô·Ç "¨â´Ï"CIOÀ³¨ã³Æªº¤»¤j¯à¤O
¡P °ê²£ITIL¹Bºû¥ý¦æªÌ ¥|¤j¼t°Ó¨¤¤OBI¥«³õ
¡P ª÷¿Ä¦æ·~GSN±MÃD¸Ñ¨M¤è®× ¥ø·~ºô¸Ñ¨M¤è®×
  IT³Õ«È ¡P´¿¼C¬î¡P¶µ¥ß­è¡PJava¾Ç²ß¡PºôºÞ
  IT§Þ³N½×¾Â ¡P¶}µo¡PºôºÞ¡P¦w¥þ¡P¼Æ¾Ú®w¡P¨t²Î