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

ORACLE Êý¾Ý¿â£¨²éѯ Ö÷¼üÍâ¼üÔ¼Êø£©

 --   ²éѯÍâ¼üÔ¼Êø(²éij±íµÄËùÓи¸±í)  
  select   c.constraint_name,cc.column_name,rcc.owner,rcc.table_name,rcc.column_name  
  from   user_constraints   c,user_cons_columns   cc,user_cons_columns   rcc  
  where   c.owner='SALIEN_SBGL'  
  and   c.table_name='JH_NDGXLGJH_TB'  
  and   c.constraint_type='R'  
  and   c.owner=cc.owner  
  and   c.constraint_name=cc.constraint_name  
  and   c.r_owner=rcc.owner  
  and   c.r_constraint_name=rcc.constraint_name  
  and   cc.position=rcc.position  
  order   by   c.constraint_name,cc.position;  
   
  --²éѯÁ¬½Óµ½Ä³±íµÄËùÓÐÍâ¼ü(²éij±íµÄËùÓÐ×Ó±í)  
  select   rcc.owner,rcc.table_name,rcc.constraint_name,rcc.column_name,c.table_name,c.constraint_name,cc.column_name      
  from   user_constraints   c,user_cons_columns   cc,user_cons_columns   rcc  
  where   lower(c.owner)='d7i'  
  and   rcc.table_name='R5HOME'  
  and   c.constraint_type='R'  
  and   c.owner=cc.owner  
  and   c.constraint_name=cc.constraint_name  
  and   c.r_owner=rcc.owner  
  and   c.r_constraint_name=rcc.constraint_name  
  and   cc.position=rcc.position  
  order   by   c.constraint_name,cc.position  
   
   
   
  --   ²éѯÖ÷¼üΨһ¼üÔ¼Êø  
  select   c.constraint_name,c.constraint_type,cc.column_name  
  from   user_constraints   c,user_cons_columns   cc  
  where   c.owner='SALIEN_SBGL'  
  and   c.table_name='JH_NDGXLGJH_TB'  
  and   c.owner=cc.own


Ïà¹ØÎĵµ£º

oracle manager database control invalid¡¡start

Æô¶¯“OracleDBConsole”ʱ£­£­£­³öÏÖ“Agent process exited abnormally during initialization.”
ÔÚÔËÐÐ"emctl start dbconsole "¡¡·¢ÏÖÊÇÕÒ²»µ½Ö¸¶¨Îļþ,ÔÚÍøÉÏÕÒÁËÒ»ÏÂÔ­Òò, ¸ü¸ÄµÄÖ¸¶¨Îļþ¼ÐµÄÃû³Æ£¬µ«»¹ÊDz»ÄÜÆô¶¯·þÎñ£¬½á¹ûÈÏÕæ¿´ÁËһϣ¬ÊÇCTRL+C,CTRL+V È»ºó²ÅÆô¶¯³É¹¦£¬ËùÒÔÌض¨Ð´ÏÂÀ´£¬¼Ç ......

oracle dbms_stats °ü

    oracle 8i ÒÔºó¼Ó´¦µÄ¹¦ÄÜ£¬Oracleר¼Ò¿Éͨ¹ýÒ»ÖÖ¼òµ¥µÄ·½Ê½À´ÎªCBOÊÕ¼¯Í³¼ÆÊý¾Ý¡£Ä¿Ç°£¬ÒѾ­²»ÔÙÍƼöÄãʹÓÃÀÏʽµÄ·ÖÎö±íºÍdbms_utility·½·¨À´Éú³ÉCBOͳ¼ÆÊý¾Ý¡£ÄÇЩ¹ÅÀϵķ½Ê½ÉõÖÁÓпÉÄÜΣ¼°SQLµÄÐÔÄÜ£¬ÒòΪËüÃDz¢·Ç×ÜÊÇÄܹ»²¶×½µ½ÓйرíºÍË÷ÒýµÄ¸ßÖÊÁ¿ÐÅÏ¢¡£ CBOʹÓöÔÏóͳ¼Æ£¬ÎªËùÓÐSQLÓï¾äÑ¡Ôñ×î¼Ñµ ......

Oracle³£ÓÃÃüÁî

ÒÔϾÝ˵ÃüÁî¾ùÖ¸ÔÚPL/SQLÖУ¬ÔÚCommand WindowÖÐÖ´ÐеÄÃüÁî¡£
²»¶ÏËѼ¯ÕûÀí
1¡¢the account is locked"µÄ½â¾ö·½·¨
      ÓÃsysÒÔsysdbaµÄÉí·ÝÀ´½øÐеǼ,ÔÚsys״̬ÊÇlockedµÄʱºòÒ²ÊÇÄܵǼµÄ.È»ºóÔÙʹÓÃÃüÁî
      alter user sys account unlockÀ´½øÐнâËø ......

ORACLEÊý¾Ý¿âµ¼Èëµ¼³ö

winÏÂÿÌì×Ô¶¯±¸·ÝÊý¾Ý¿âÅú´¦ÀíÎļþ£º
(×¢ÒªºÍexpÎļþ·ÅͬһĿ¼£¬È»ºó½¨Á¢Ò»¸öÈÎÎñ¼´¿É)
exp userid=user/pass  file=i:\dmpos%date:~0,10%.dmp log=i:\dmpos%date:~0,10%.log
exp userid=user/pass file=/demo/oaback/dmp/dat$tim.dmp
Ò». µ¼³ö¹¤¾ß exp
1. ËüÊDzÙ×÷ϵͳÏÂÒ»¸ö¿ÉÖ´ÐеÄÎļþ ´æ·ÅĿ¼/ORACLE_HO ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ