Ïê½âOracle´´½¨Óû§È¨ÏÞÈ«¹ý³Ì
±¾ÎĽ«½éÉܵÄÊÇͨ¹ý´´½¨Ò»ÕÅ±í£¬½ø¶øʵÏÖOracle´´½¨Óû§È¨Ï޵Ĺý³Ì¡£ÒÔÏÂÕâЩ´úÂëÖ÷ÒªÒ²¾ÍÊÇΪʵÏÖOracle´´½¨Óû§È¨ÏÞ¶ø±àд£¬Ï£ÍûÄܶԴó¼ÒÓÐËù°ïÖú¡£
×¢Ò⣺ÿÌõÓïÓï·Ö¿ªÖ´ÐУ¬½áβ±ØÐëÓ÷ֺÅ;
//´´½¨¿Õ¼ä create tablespace test datafile 'c:\oracle\oradata\orcl9\test.dbf' size 50M default storage (initial 500K Next 500K minextents 1 maxextents unlimited pctincrease 0); //Oracle´´½¨Óû§È¨ÏÞ //´´½¨Óû§ create user lxg identified by lxg default tablespace test; //ÊÚȨ¡¡ grant resource,connect,dba to test; //ɾ³ý±í¿Õ¼ä drop tablespace "¿Õ¼äÃû" including contents and datafiles ɾ³ýÓû§
drop user "lxg" cascade Ôö¼Ó±í¿Õ¼ä
alter tablespace chinawater add datafile 'c:\oracle\oradata\orcl9\ADDCHINAWATER.dbf' size 200M ´´½¨Óû§
create user userName identified by password; ´´½¨Óû§ userName,ÃÜÂëΪ password
2
¸øÓû§ÊÚȨ
grant dba to lxg;--ÊÚÓèDBAȨÏÞ grant unlimited tablespace to lxg;--ÊÚÓè²»ÏÞÖƵıí¿Õ¼ä grant select any table to lxg;--ÊÚÓè²éѯÈκαí grant select any dictionary to lxg;--ÊÚÓè ²éѯ ÈκÎ×Öµä grant dba to lxg; grant unlimited tablespace to lxg; grant select any table to lxg; grant select any dictionary to lxg; |