Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¡¾×ª¡¿Oracle Êý¾Ý×ÖµäÊÓͼ(V$,GV$,X$)

³£Óõļ¸¸öÊý¾Ý×ֵ䣺
user_objects : ¼Ç¼ÁËÓû§µÄËùÓжÔÏ󣬰üº¬±í¡¢Ë÷Òý¡¢¹ý³Ì¡¢ÊÓͼµÈÐÅÏ¢£¬ÒÔ¼°´´½¨Ê±¼ä£¬×´Ì¬ÊÇ·ñÓÐЧµÈÐÅÏ¢£¬ÊÇ·ÇDBAÓû§µÄ´ó±¾Óª¡£ÏëÖªµÀ×Ô¼ºÓÐÄÄЩ¶ÔÏó£¬ÍùÕâÀï²é¡£
user_source :°üº¬ÁËϵͳÖжÔÏóµÄÔ­Â룬Èç´æ´¢¹ý³Ì£¬FUNCTION¡¢PROCEDURE¡¢PACKAGEµÈÐÅÏ¢
cat»òTab £º°üº¬µ±Ç°Óû§ËùÓеÄÓû§ºÍÊÓͼÐÅÏ¢ºÍͬÒå´ÊÐÅÏ¢£¬cat»¹¶àÁËÒ»¸öSYNONYM;
dict :ϵͳÖÐËùÓеÄÊý¾Ý×ֵ䶼´æ´¢ÔÚÕâÀïÃæ
 
OracleÖеÄÊý¾Ý×ÖµäÓо²Ì¬ºÍ¶¯Ì¬Ö®·Ö¡£¾²Ì¬Êý¾Ý×ÖµäÖ÷ÒªÊÇÔÚÓû§·ÃÎÊÊý¾Ý×Öµäʱ²»»á·¢Éú¸Ä±äµÄ£¬µ«¶¯Ì¬Êý¾Ý×ÖµäÊÇÒÀÀµÊý¾Ý¿âÔËÐеÄÐÔÄܵģ¬·´Ó³Êý¾Ý¿âÔËÐеÄһЩÄÚÔÚÐÅÏ¢£¬ËùÒÔÔÚ·ÃÎÊÕâÀàÊý¾Ý×ÖµäʱÍùÍù²»ÊÇÒ»³É²»±äµÄ¡£ÒÔÏ·ֱð¾ÍÕâÁ½ÀàÊý¾Ý×ÖµäÀ´ÂÛÊö¡£
1£® ¾²Ì¬Êý¾Ý×Öµä
ÕâÀàÊý¾Ý×ÖµäÖ÷ÒªÊÇÓɱíºÍÊÓͼ×é³É£¬Ó¦¸Ã×¢ÒâµÄÊÇ£¬Êý¾Ý×ÖµäÖеıíÊDz»ÄÜÖ±½Ó±»·ÃÎʵģ¬µ«ÊÇ¿ÉÒÔ·ÃÎÊÊý¾Ý×ÖµäÖеÄÊÓͼ¡£¾²Ì¬Êý¾Ý×ÖµäÖеÄÊÓͼ·ÖΪÈýÀ࣬ËüÃÇ·Ö±ðÓÉÈý¸öǰ׺¹»³É£ºuser_*¡¢ all_*¡¢ dba_*¡£
user_*
¸ÃÊÓͼ´æ´¢Á˹ØÓÚµ±Ç°Óû§ËùÓµÓеĶÔÏóµÄÐÅÏ¢¡££¨¼´ËùÓÐÔÚ¸ÃÓû§Ä£Ê½ÏµĶÔÏó£©
all_*
¸ÃÊÔͼ´æ´¢Á˵±Ç°Óû§Äܹ»·ÃÎʵĶÔÏóµÄÐÅÏ¢¡££¨Óëuser_*Ïà±È£¬all_* ²¢²»ÐèÒªÓµÓиöÔÏó£¬Ö»ÐèÒª¾ßÓзÃÎʸöÔÏóµÄȨÏÞ¼´¿É£©
dba_*
¸ÃÊÓͼ´æ´¢ÁËÊý¾Ý¿âÖÐËùÓжÔÏóµÄÐÅÏ¢¡££¨Ç°ÌáÊǵ±Ç°Óû§¾ßÓзÃÎÊÕâЩÊý¾Ý¿âµÄȨÏÞ£¬Ò»°ãÀ´Ëµ±ØÐë¾ßÓйÜÀíԱȨÏÞ£©
´ÓÉÏÃæµÄÃèÊö¿ÉÒÔ¿´³ö£¬ÈýÕßÖ®¼ä´æ´¢µÄÊý¾Ý¿Ï¶¨»áÓÐÖصþ£¬ÆäʵËüÃdzýÁË·ÃÎÊ·¶Î§µÄ²»Í¬ÒÔÍ⣨ÒòΪȨÏÞ²»Ò»Ñù£¬ËùÒÔ·ÃÎʶÔÏóµÄ·¶Î§²»Ò»Ñù£©£¬ÆäËû¾ù¾ßÓÐÒ»ÖÂÐÔ¡£¾ßÌåÀ´Ëµ£¬ÓÉÓÚÊý¾Ý×ÖµäÊÓͼÊÇÓÉSYS£¨ÏµÍ³Óû§£©ËùÓµÓеģ¬ËùÒÔÔÚÈ´Ê¡Çé¿öÏ£¬Ö»ÓÐSYSºÍÓµÓÐDBAϵͳȨÏÞµÄÓû§¿ÉÒÔ¿´µ½ËùÓеÄÊÓͼ¡£Ã»ÓÐDBAȨÏÞµÄÓû§Ö»ÄÜ¿´µ½user_*ºÍall_*ÊÓ¡£Èç¹ûûÓб»ÊÚÓèÏà¹ØµÄSELECTȨÏ޵Ļ°£¬ËûÃÇÊDz»ÄÜ¿´µ½ dba_*ÊÓͼµÄ¡£
ÓÉÓÚÈýÕß¾ßÓÐÏàËÆÐÔ£¬ÏÂÃæÒÔuser_ΪÀý½éÉܼ¸¸ö³£Óõľ²Ì¬ÊÓͼ£º
user_usersÊÓͼ
Ö÷ÒªÃèÊöµ±Ç°Óû§µÄÐÅÏ¢£¬Ö÷Òª°üÀ¨µ±Ç°Óû§Ãû¡¢ÕÊ»§id¡¢ÕÊ»§×´Ì¬¡¢±í¿Õ¼äÃû¡¢´´½¨Ê±¼äµÈ¡£ÀýÈçÖ´ÐÐÏÂÁÐÃüÁî¼´¿É·µ»ØÕâЩÐÅÏ¢¡£
select * from user_users
user_tablesÊÓͼ
Ö÷ÒªÃèÊöµ±Ç°Óû§ÓµÓеÄËùÓбíµÄÐÅÏ¢£¬Ö÷Òª°üÀ¨±íÃû¡¢±í¿Õ¼äÃû¡¢´ØÃûµÈ¡£Í¨¹ý´ËÊÓͼ¿ÉÒÔÇå³þÁ˽⵱ǰÓû§¿ÉÒÔ²Ù×÷µÄ±íÓÐÄÄЩ¡£Ö´ÐÐÃüÁîΪ£ºselect * from user_tables
¡¡user_objectsÊÓͼ
¡¡¡¡Ö÷ÒªÃèÊöµ±Ç°Óû§ÓµÓеÄËùÓжÔÏóµÄÐ


Ïà¹ØÎĵµ£º

Oracle±í¿Õ¼ä¹ÜÀí

extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î»      --segment    management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......

Oracle PL/SQLÓïÑÔÈëÃÅ

Ò»¡¢±³¾°½éÉÜ
¡¡¡¡
¡¡¡¡½á¹¹»¯²éѯÓïÑÔ(Structured Query Language£¬¼ò³ÆSQL)ÊÇÓÃÀ´·ÃÎʹØϵÐÍÊý¾Ý¿âÒ»ÖÖͨÓÃÓïÑÔ£¬ÊôÓÚµÚËÄ´úÓïÑÔ£¨4GL£©£¬ÆäÖ´ÐÐÌصãÊǷǹý³Ì»¯£¬¼´²»ÓÃÖ¸Ã÷Ö´ÐеľßÌå·½·¨ºÍ;¾¶£¬¶øÊǼòµ¥µØµ÷ÓÃÏàÓ¦Óï¾äÀ´Ö±½ÓÈ¡µÃ½á¹û¼´¿É¡£ÏÔÈ»£¬ÕâÖÖ²»¹Ø×¢ÈκÎʵÏÖϸ½ÚµÄÓïÑÔ¶ÔÓÚ¿ª·¢ÕßÀ´ËµÓÐ׿«´óµÄ±ãÀû¡£È»¶ø£¬Ó ......

ʹÓÃoracleµÄ10046ʼþ¸ú×ÙSQLÓï¾ä

Ô­ÎĵØÖ·£ºhttp://www.blogjava.net/xingcyx/archive/2007/01/09/92638.html
ʹÓÃoracleµÄ10046ʼþ¸ú×ÙSQLÓï¾ä
ÎÒÃÇÔÚ·ÖÎöÓ¦ÓóÌÐòÐÔÄÜÎÊÌâµÄʱºò£¬¸ü¶àµØÐèÒª¹Ø×¢ÆäÖÐSQLÓï¾äµÄÖ´ÐÐÇé¿ö£¬ÒòΪͨ³£Ó¦ÓóÌÐòµÄÐÔÄÜÆ¿¾±»áÔÚÊý¾Ý¿âÕâ±ß£¬Òò´ËÊý¾Ý¿âµÄsqlÓï¾äÊÇÎÒÃÇÓÅ»¯µÄÖص㡣ÀûÓÃOracleµÄ10046ʼþ£¬¿ÉÒÔ¸ú×ÙÓ¦ÓóÌÐòËùÖ´ ......

¡¾×ª¡¿Oracle SQLµÄÓ²½âÎöºÍÈí½âÎö

˵µ½Èí½âÎö£¨soft prase
£©ºÍÓ²½âÎö£¨
hard prase
£©£¬¾Í²»Äܲ»ËµÒ»ÏÂ
Oracle
¶Ô
sql
µÄ´¦Àí¹ý³Ì¡£µ±Äã·¢³öÒ»Ìõ
sql
Óï¾ä½»¸¶
Oracle
£¬ÔÚÖ´ÐкͻñÈ¡½á¹ûÇ°£¬
Oracle
¶Ô´Ë
sql
½«½øÐм¸¸ö²½ÖèµÄ´¦Àí¹ý³Ì£º
    1¡¢Óï·¨¼ì²é£¨
syntax check
£©
   &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ