oracleÊý¾Ý¿âÖУ¬ÓÃϵͳ¹ÜÀíÔ±µÇ½£¬Ôõô·ÃÎÊÆäËüÓû§´´½¨µÄ±íselect * from other_user.other_table; ÄÇÔõô²é¿´ÆäËûÓû§´´½¨µÄËùÓбíµÄÃû³ÆÄØ select table_name from user_tables where user='CARTOON';//Ö¸¶¨Óû§µÄ±í
select table_name from all_tables; //ËùÓÐÓû§µÄ±í
select table_name from dba_tables; //°üÀ¨ÏµÍ³±í
select table_name from dba_tables where owner='Óû§Ãû'
grant select on user.table to otheruser; Èç¹ûÖ»ÐèÒª²é¿´Ä³¸öÓû§´´½¨µÄ±íÃû³ÆµÄ»° ÒÔDBAÉí·ÝµÇ¼ ½øÐÐÈçϲéѯ select table_name from dba_tables where owner='Óû§Ãû'
Èç¹ûÏëÒª²é¿´Ä³¸öÓû§´´½¨ÏµıíµÄÄÚÈݵϰ Ê×ÏÈÐèÒªÊÚȨ ±ÈÈç˵ÄãÏëÔÚU1Óû§Ï²鿴U2Óû§½¨µÄ±íµÄÄÚÈÝ ÐèÒªÒÔU2Éí·Ý»òÕßDBAÉí·ÝµÇ¼ Ö´ÐÐÈçÏÂÓï¾ä½øÐÐÊÚȨ grant select on u2.tablename to u1;