Oracle ´æ´¢¹ý³ÌÖе÷ÓÃ×Ô¶¨ÒåµÄº¯ÊýÎÊÌ⣿
ÎÒÏÖÔÚÔÚ×öÒ»¸öOracleÊý¾Ýµ¼È룬Ҫ½«EXCELÊý¾Ýµ¼Èëµ½OracleÊý¾Ý¿âÖУ¬ÏȶÁÈ¡Êý¾Ý£¬½«Êý¾Ý±£´æÔÚÒ»ÕÅÁÙʱ±íÖУ¬È»ºóµ¼Èë֮ǰ¶ÔÁÙʱ±íÖÐÊý¾ÝµÄÿ¸ö×Ö¶Î×öУÑ飬±ÈÈçÊý¾ÝÊÇ·ñΪÕûÊý£¬ÕûÊýµÄ×î´óλÊý£¬¼°µ¼ÈëµÄÊý¾ÝÔÚÔÊý¾Ý¿âÖÐÊÇ·ñÒѾ´æÔڵȣ¬ÎÒдÁËÒ»¸ö´æ´¢¹ý³Ì£¬¶ÔÒì³£µÄÊý¾Ý£¬½«×ֶΓis_checked”ÉèΪÒì³£ÐÅÏ¢¡£
ÔÚ¶ÔÊý×ÖÐÍÊý¾Ý×öУÑéʱ£¬ÎªÁËÑéÖ¤¸Ã×Ö¶ÎÊÇ·ñΪÊý×Ö£¬»òÕßΪÕûÊý£¬ÎÒÔÚOracleÖÐдÁËÒ»¸ö×Ô¶¨ÒåµÄÊý×ÖУÑ麯Êý£¬²¢ÔÚ´æ´¢¹ý³ÌÖе÷Óøú¯Êý£¬µ«ÊÇÎÒ·¢ÏÖµÚÒ»´Îµ¼Èëʱ£¬ËùÓÐÊý¾ÝУÑéÕý³££¬µ«Êǵ±µÚ¶þ´Îµã»÷µ¼ÈëµÄʱºò£¬´æ´¢¹ý³Ì¾Í²»ÄÜÖØе÷Óøú¯Êý£¬ÀíËùµ±È»Ð£ÑéµÄÊý¾ÝÒ²¶¼ÊÇ´íÎóµÄ£¬ÓëµÚÒ»´ÎУÑéµÄ½á¹û´óΪ²»Í¬£¬µ÷ÊÔÐÞ¸ÄÖ®ºó£¬·¢ÏÖ±ØÐëÖØбàÒëÕâ¸öУÑ麯Êý²ÅÄÜÕý³£µÄУÑé¡£Õâ¸öÎÊÌâ¾ÍÁ¬ÏÖÔÚµÄÏîÄ¿¾ÀíÒ²½â¾ö²»ÁËÁË£º£©
ÔÚÕâÀïÏëÎÊ´ó¼Ò£¬ÓÐʲô°ì·¨¿ÉÒÔÔÚ´æ´¢¹ý³ÌÖе÷Óøú¯ÊýʱֻÐè±àÒëÒ»´Î£¿»òÕßµ÷ÓÃ֮ǰ¶Ô¸Ãº¯ÊýÖØбàÒëµÄ·½·¨£¬ÓÐ×ö¹ýÀàËÆÏîÄ¿µÄͬÈÊ°ïæ½â¾öһϰ¡£º£©
ºÇºÇ ±È½ÏÍ·ÌÛµÄÎÊÌ⣬Ҳ¿ÉÄÜÊÇÎÒµÄУÑ麯Êý³öÁËÎÊÌ⣬ÒÔÏÂÊÇÎÒ×Ô¼ºÐ´µÄµÄOracleÊý×ÖУÑ麯Êý£¬²»Öª¶Ô·ñ£¬Íû¶à¶àÖ¸½Ì¡«¡«
CREATE OR REPLACE FUNCTION IS_POSITIVE_NUMERIC(MyStr VARCHAR2,intMax integer,decimalMax integer) RETURN NUMBER
IS
/******************************************************************************
PURPOSE: ÅжÏÊäÈëµÄ×Ö·û´®ÊÇ·ñΪºÏ·¨µÄÕýÊý
REVISIONS:
Ver Date Author Description
--------- ---------- --------------- ------------------------------------
1.0 2008-11-17 lei.zhao 1. Created this procedure.
ÊäÈë²ÎÊý£º
MyStr £ºÒª¼ìÑéµÄ×Ö·û´®
intMax£ºÕûÊý²¿·Ö×î´óλÊý
&
Ïà¹ØÎĵµ£º
listener.ora¡¢ tnsnames.oraºÍsqlnet.oraÕâ3¸öÎļþÊǹØϵoracleÍøÂçÅäÖõÄ3¸öÖ÷ÒªÎļþ£¬ÆäÖÐlistener.oraÊǺÍÊý¾Ý¿â·þÎñÆ÷¶Ë Ïà¹Ø£¬¶øtnsnames.oraºÍsqlnet.oraÕâ2¸öÎļþ²»½ö½ö¹Øϵµ½·þÎñÆ÷¶Ë£¬Ö÷ÒªµÄ»¹ÊǺͿͻ§¶Ë¹Øϵ½ôÃÜ¡£
¼ì²é¿Í»§¶ËoracleÍøÂçµÄʱºò¿ÉÒÔÏȼì²ésqlnet.oraÎļþ£º
# SQLNET.ORA Network Configuration ......
ÉêÃ÷oracleº¯Êý£¬¼°Æä½á¹û¼¯½á¹¹
½á¹û¼¯±ØÐëΪȫ¾ÖµÄ¡¢table of ²»ÄÜÓÃindex by
CREATE OR REPLACE TYPE EMPARRAY is object (corporationId number)£»
CREATE OR REPLACE TYPE EMPARRAY2 is table of EMPARRAY£»
create or replace function func_empl return sys_refcursor is
Result sys_refcursor;
......
1.¸ü¸Ä¹éµµÂ·¾¶
ÔÚORACLE10GÖУ¬Ä¬ÈϵĹ鵵·¾¶Îª$ORACLE_BASE/flash_recovery_area¡£¶ÔÓÚÕâ¸ö·¾¶£¬
ORACLEÓÐÒ»¸öÏÞÖÆ£¬¾ÍÊÇĬÈÏÖ»ÄÜÓÐ2GµÄ¿Õ¼ä¸ø¹éµµÈÕ־ʹÓ㬿ÉÒÔʹÓÃÏÂÃæÁ½¸öSQLÓï¾äÈ¥²é¿´ËüµÄÏÞÖÆ
1. select * from v$recovery_file_dest;
sql >show parameter db_recovery_file_dest(Õâ¸ö¸üÓѺÃÖ±¹ÛһЩ)
µ± ......
¡¶1¡·DDLÓï¾ä(Êý¾Ý¶¨ÒåÓïÑÔ) Data Define Language
create
alter
drop
truncate ¿ªÍ·µÄÓï¾ä truncate table <±íÃû>
Ìصã:<1>½¨Á¢ºÍÐÞ¸ÄÊý¾Ý¶ÔÏó
&nb ......
ÓкܶàÓ¦ÓÃÏîÄ¿, ¸ÕÆð²½µÄʱºòÓÃMYSQLÊý¾Ý¿â»ù±¾ÉÏÄÜʵÏÖ¸÷ÖÖ¹¦ÄÜÐèÇó£¬Ëæ×ÅÓ¦ÓÃÓû§µÄÔö¶à£¬Êý¾ÝÁ¿µÄÔö¼Ó£¬MYSQL½¥½¥µØ³öÏÖ²»¿°ÖظºµÄÇé¿ö£ºÁ¬½ÓºÜÂýÉõÖÁå´»ú£¬ÓÚÊǾÍÓаÑÊý¾Ý´ÓMYSQLǨµ½ORACLEµÄÐèÇó£¬Ó¦ÓóÌÐòÒ²ÒªÏàÓ¦×öһЩÐ޸ġ£±¾ÈË×ܽá³öÒÔϼ¸µã×¢ÒâÊÂÏϣÍû¶Ô´ó¼ÒÓÐËù°ïÖú¡£
1£® ×Ô¶¯Ôö³¤µÄÊý¾ ......