Oracle С֪ʶ ×ܽá(Ò»)
Oracle ÊÇÒ»¸öÅÓ´óµÄϵͳ£¬ÀïÃæµÄ֪ʶµãºÜ¶à£¬ÔÚѧϰµÄʱºò£¬¿´µ½Ò»Ð©ÖªÊ¶µã£¬¾ÍÌùÁËÏÂÀ´£¬¾¡²»ÖªÖÐÌùÁËÕâô¶à£¬¾ÍÏÈ×ö¸öС½á°É¡£ ÀïÃæÓеÄ֪ʶµãÒѾµ¥¶ÀÄóöÀ´Ð´³Éµ¥ÆªµÄblog(http://blog.csdn.net/tianlesoftware)ÁË¡£ÓеĻ¹Ã»ÓнøÐÐÕûÀí¡£ ºÃ¼ÇÐÔ²»ÈçÀñÊÍ·£¬²»¹ýÎÒÓõIJ»ÊDZʡ£ ^_^ ...
ÕâÀïÃæ´ó²¿·ÖÄÚÈݶ¼ÊÇÎÒÅÝCSDN ÂÛ̳µÄʱºòÕûÀíµÄ£¬ÏÖÔÚҪæÆäËûµÄÊ£¬¾ÍºÜÉÙÈ¥ÁË¡£ ÅÝÂÛ̳µÄÄǶÎʱ¼ä£¬ÊÇÎÒ½ø²½×î¿ìµÄʱ¼ä£¬ËùÒÔÈç¹ûÏëÔÚOracle ÉÏÓÐËù·¢Õ¹µÄÅóÓÑ£¬½¨ÒéÒ²¿ÉÒÔÈ¥ÂÛ̳ÅÝÅÝ¡£ ¿´µ½×Ô¼º»áµÄ֪ʶµã£¬¾Í°ï±ðÈ˽â´ð£¬²»»áµÄ¾Í×Ô¼ºÑо¿Ñ§Ï°£¬Ò»¶Îʱ¼äÏÂÀ´£¬»áÓкܴóµÄ½ø²½¡£¶øÇÒ»¹ÄÜÈÏʶºÜ¶àÅóÓÑ¡£ ʵÔÚÊÇÒ»¾ÙÁ½µÃµÄÊ¡£
1. ÿÌìµÄ8£º00µ½23£º00ÿ¸ô5·ÖÖÓÖ´ÐÐÒ»¸ösqlÓï¾äµÄJOB
--½¨Á¢Ò»¸ö´æ´¢¹ý³Ì
CREATE OR REPLACE PROCEDURE p_jobtest IS
v_hh VARCHAR2(2);
BEGIN
v_hh := to_char(SYSDATE, 'hh24');
IF v_hh >= '08' AND v_hh <= '22' THEN
--ÄãµÄsqlÓï¾ä
NULL;
END IF;
END;
/
--Ìá½»Ò»¸öJOB
DECLARE
v_jobno NUMBER;
BEGIN
dbms_job.submit(v_jobno,
'p_jobtest;',
trunc(SYSDATE, 'mi') + 1 / 1440,
'trunc(SYSDATE, ''mi'') + 5 / 1440');
END;
/
2. RMAN ÖеÄlist ÃüÁîÏÔʾµÄÐÅÏ¢ÊÇ´Ó¿ØÖÆÎļþÀï»ñÈ¡µÄ£¬Èç¹ûʹÓÃrmµÈÃüÁîÊÖ¹¤µÄɾ³ý±¸·ÝÎļþ£¬Õâ¸ö¶¯×÷²»»áͬ²½µ½¿ØÖÆÎļþ£¬Ôì³É²»Ò»Ö£¬ÕâÖÖ²»Ò»Ö»ᵼÖÂʹÓÃrmanʱ±¨´í¡£¿ÉÒÔʹÓÃdelete ɾ³ýÕâЩ¹ýÆڵļǼ£¬ÔÚÓþͲ»»á±¨´íÁË¡£
RMAN>crosscheck copy;
RMAN>list co
Ïà¹ØÎĵµ£º
Ҫʹһ¸ö¿Í»§¶Ë»úÆ÷ÄÜÁ¬½Ó
oracle
Êý¾Ý¿â£¬ÐèÒªÔÚ¿Í»§¶Ë»úÆ÷ÉÏ°²×°
oracle
µÄ¿Í»§¶ËÈí¼þ£¬Î¨Ò»µÄÀýÍâ¾ÍÊÇ
java
Á¬½ÓÊý¾Ý¿âµÄʱºò£¬¿ÉÒÔÓÃ
jdbc thin
ģʽ£¬²»ÓÃ×°
oracle
µÄ¿Í»§¶ËÈí¼þ¡£¼ÓÈëÄãÔÚ»úÆ÷ÉÏ×°ÁË
oracle
Êý¾Ý¿â£¬¾Í²»ÐèÒªÔÚµ¥¶ÀÔڸûúÆ÷ÉÏ°²×°
oracle
¿Í»§¶ËÁË£¬ÒòΪװ
oracle
Êý¾Ý¿âµÄʱºò»á×Ô¶ ......
Wrap¼ÓÃÜOracle´æ´¢¹ý³Ì
Oracle×Ô´øµÄÄÚ²¿°ü´ó¶àÊý¶¼ÊǾ¹ý¼ÓÃܵģ¬±È½ÏºÃÆ棬Á˽âÒ»ÏÂOracle½øÐмÓÃܵŤ¾ß¡£Ò»°ã¶¼Ê¹ÓÃwrap¹¤¾ß½øÐмÓÃÜ£¬Õâ¸öwrapµÄʹÓÃÓï
·¨·Ç³£¼òµ¥£¬Ö»ÓÐÊäÈëºÍÊä³öÁ½¸ö²ÎÊý£¬Ò²Ã»ÓжàÓàµÄ²Ù×÷¡ ......
Oracle EBS: EBS³£ÓÃSQL
×î½üÒ»Ö±ÔÚæÓÚ×öEBSµÄ¶þ´Î¿ª·¢£¬Àë²»¿ªÆ´Æ´湊湊µÄSQLÓï¾ä. ÕâЩ¶¼ÊÇ´ó¼Ò³£ÓõÄһЩSQL£¬Óë´ó¼Ò·ÖÏí,»¶ÓÖ¸Õý.
/* Formatted on 2009-11-03 23:10:34 (QP5 v5.114.809.3010) */
--1²éÕÒϵͳÓû§»ù±¾ÐÅÏ¢ author:dezai
Select USER_ID,
&nb ......
µÚÒ»¸öbug fix Óõ½ OracleµÄUpdateÓï¾ä
update Table1 set Web=-1 where ProgID=N‘123’
CodeReview ʱ
Do we need a COMMIT; in the Oracle version?
ÉÏÍø²éÁËÒ»ÏÂOracle COMMITÓ÷¨
COMMIT
Purpose
Use the COMMIT statement to end your current transaction and make permanent all changes ......
1. ÉèÖÃÒ³ÃæÏÔʾ×ÜÐÐÊý
1) ²é¿´Ä¿Ç°µÄpagesize,ĬÈÏÊÇ14:
Sqlplus´úÂë
1. show pagesize;
show pagesize;
2) ½«pagesizeÉèÖúÃ100,Ôò¿ÉÒÔÒ»´ÎÏÔʾ¹»¶àÐмǼÁË:
Sqlplus´úÂë
1. set pagesize 1 ......