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

Oracle JOB¼ä¸ôʱ¼äÏê½â

Oracle JOB ¼ä¸ôʱ¼äÏê½â
INTERVAL²ÎÊýÉèÖãº
ÿÌìÔËÐÐÒ»´Î                        'SYSDATE + 1'
ÿСʱÔËÐÐÒ»´Î                     'SYSDATE + 1/24'
ÿ10·ÖÖÓÔËÐÐÒ»´Î                 'SYSDATE + 10/£¨60*24£©'
ÿ30ÃëÔËÐÐÒ»´Î                    'SYSDATE + 30/(60*24*60)'
ÿ¸ôÒ»ÐÇÆÚÔËÐÐÒ»´Î               'SYSDATE + 7'
ÿ¸öÔÂ×îºóÒ»ÌìÔËÐÐÒ»´Î         'TRUNC(LAST_DAY(ADD_MONTHS(SYSDATE,1))) + 23/24'
ÿÄê1ÔÂ1ºÅÁãʱ                    'TRUNC(LAST_DAY(TO_DATE(EXTRACT(YEAR from SYSDATE)||'12'||'01','YYYY-MM-DD'))+1)'
ÿÌìÎçÒ¹12µã                       'TRUNC(SYSDATE + 1)'
ÿÌìÔçÉÏ8µã30·Ö                  'TRUNC(SYSDATE + 1) + (8*60+30)/(24*60)'
ÿÐÇÆÚ¶þÖÐÎç12µã                 'NEXT_DAY(TRUNC(SYSDATE ), ''TUESDAY'' ) + 12/24'
ÿ¸öÔµÚÒ»ÌìµÄÎçÒ¹12µã        'TRUNC(LAST_DAY(SYSDATE ) + 1)'
ÿ¸öÔÂ×îºóÒ»ÌìµÄ23µã           'TRUNC (LAST_DAY (SYSDATE)) + 23 / 24'
ÿ¸ö¼¾¶È×îºóÒ»ÌìµÄÍíÉÏ11µã  'TRUNC(ADD_MONTHS(SYSDATE + 2/24, 3 ), 'Q' ) -1/24'
ÿÐÇÆÚÁùºÍÈÕÔçÉÏ6µã10·Ö      'TRUNC(LEAST(NEXT_DAY(SYSDATE, ''S


Ïà¹ØÎĵµ£º

oracleÖÐjdbcÇý¶¯°üµÄ˵Ã÷

´Óoracle8µ½oracle10£¬JDBCĿ¼ÏµÄÇý¶¯°ü¶¼¸÷Óв»Í¬¡£¿´ÁËÒ»ÏÂoracleµÄÎĵµËµÃ÷£¬Á˽âÁËÒ»ÏÂËüÃǵÄÓÃ;£¬ÏàÐÅ´ó¼ÒÓÐʱºòÒ²ºÜÃÔ»ó£¬Ð´³öÀ´¹²Ïíһϡ£
ÕâЩÊÇoracle10gϵÄÇý¶¯°üµÄÃû³ÆºÍËüÃǵÄ×÷Óã¬ÆäËû°æ±¾µÄoracle»ù±¾ÀàËÆ¡£
Ö§³ÖËùÓÐƽ̨µÄJDBC ThinÇý¶¯
classes12.jar (1,417,089 bytes) - JDK 1.2 ºÍ JDK 1.3ÏÂÊ¹Ó ......

OracleÊý¾Ý¿â¡°Ghost¡±

1¡¢Í¨¹ýToad½«Êý¾Ý¿É½á¹¹Éú³ÉSQL£¨×¢ÒâÓû§£©¡£
     [DataBase] [Export] [GenerateSchmaScript]
2¡¢´´½¨DBLink.
     DROP PUBLIC DATABASE LINK "ROOT.US.ORACLE.COM";
     CREATE PUBLIC DATABASE LINK "ROOT.US.ORACLE.COM"
   &nb ......

ÈçºÎÐÞ¸Äoracle RAC VIPµØÖ·

      ÓÐʱºòÍøÂç·¢Éú±ä¶¯£¬±ØÐëÊÖ¶¯ÐÞ¸ÄÒ»ÏÂRAC VIPµØÖ·£¬²»½öÊǵØÖ·£¬Ò²¿ÉÒÔÐÞ¸ÄVIPËùÔÚµÄÍø¿¨£¬Ô­ÔòÊÇVIPµØÖ·ÒªºÍPUBµØÖ·ÔÚͬһ¸öÍø¶ÎÄÚ£¬·½·¨ÆäʵÊDZȽϼòµ¥µÄ£¬ÓÐÈËÎʵ½£¬ÎÒ¸øÒ»¸öʾÀýÈçÏ£º
1¡¢¹Ø±ÕÊý¾Ý¿â
srvctl stop database -d db
2¡¢¹Ø±ÕNOTEAPPA
srvctl stop nodeapps -n db2
à ......

oracle²éѯÁ´½ÓÊý sqlÃüÁî

select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t
select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t where t.OSUSER='admin'
select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t where t.OSUSER='liuzhaoqing'
select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t where t.OSUSER='ymx'
sel ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ