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

oracle apiС½á

 Ç°¼¸¸öÏîÄ¿×Ô¼ºÃ»ÓÐд¹ý½Ó¿Ú£¬¶¼ÊǸºÔðǰ̨µÄ¿ØÖÆ¡£À´µ½Õâ¸öÏîÄ¿ÉÏ£¬²Å¿ªÊ¼×Ô¼ºÐ´£¬ÎÒÊÇ6ÔÂÖÐÑ®¿ªÊ¼×öÕâ¸öÏîÄ¿µÄ£¬ÏÖÔÚ11Ô·ݣ¬ÏÖÔÚÔÚÈ¥¿´6Ô·ÝдµÄpackage,¼òÖ±ÓеãÏëÍÂÁË¡£Ô­ÒòÓÐÒÔϼ¸µã£º
1. ¼ò½à£¬¶óÒªµÄ˵Ã÷ûÓи½¼Ó¡£
2. n¶à¹¦ÄÜ×ۺϵ½Ò»Æð£¬È«²¿·Åµ½Ò»¸ö°üÀ¶ø²»ÊǸù¾Ý¹¦ÄÜÄ£¿é»®·Ö¡£
3. ûÓÐÀýÍâ¿ØÖÆ¡£
4. д·¨²»¹æ·¶
5. È¡ÖµÂß¼­¿¼ÂDz»ÖÜÈ«
Õë¶ÔÓÚµÚÒ»µã£¬Ê×ÏÈ£¬Ò»¸öÈÃÈËÈÝÒ×Àí½âÄãµÄ°üµÄÊǸÉΨһ·½·¨¾ÍÊǼÓÉϱØÒªµÄ×¢ÊÍ£¬ÕâÑù·½±ã±ðÈË£¬Ò²·½±ã×Ô¼º£¬²»ÖÁÓÚ×îºó×Ô¼º¶¼¿´²»¶®ÄãдµÄÊǸÉʲôÓõġ£¿´ÏÂÃæÕâ¸öÀý×Ó£¨ÎÒÁùÔ·ÝдµÄ£©£º
e.g:
  PROCEDURE ship_bill_insert(
              p_business_id IN NUMBER ,
              p_site_id IN NUMBER,
              p_use_site_id IN NUMBER DEFAULT NULL,
              p_business_type IN VARCHAR2,
              p_created_by IN NUMBER,
              p_creation_date IN DATE,
              p_last_updated_by IN NUMBER,
              p_last_update_date IN DATE,
              p_last_update_login IN NUMBER,
              p_address IN VARCHAR2 DEFAULT NULL,
              p_enable_flag IN VARCHAR2 ,
              p_primary_flag IN VARCHAR2 DEFAULT NULL,
              p_object_version_number IN NUMBER DEFAULT NUL


Ïà¹ØÎĵµ£º

OracleË÷Òý±Ê¼Ç

 Ò».B-TreeË÷Òý(b-tree index)
1. Ñ¡ÏîÔñË÷Òý×ֶεÄÔ­Ôò: 
ÔÚWHERE×Ó¾äÖÐ×îƵ·±Ê¹ÓõÄ×ֶΠ
Áª½ÓÓï¾äÖеÄÁª½Ó×ֶΠ
Ñ¡Ôñ¸ßÑ¡ÔñÐÔµÄ×Ö¶Î(Èç¹ûºÜÉÙµÄ×Ö¶ÎÓµÓÐÏàֵͬ,¼´Óкܶà¶ÀÌØÖµ,ÔòÑ¡ÔñÐԺܺÃ) 
ORACLEÔÚUNIQUEºÍÖ÷¼ü×Ö¶ÎÉÏ×Ô¶¯½¨Á¢Ë÷Òý 
ÔÚÑ¡ÔñÐԺܲîµÄ×Ö¶ÎÉϽ¨Ë÷ÒýÖ»ÓÐÔÚÕâ¸ö×Ö¶ÎµÄ ......

»ñÈ¡oracle clientµÇ¼IPµÄ·½·¨

 Ò»¡¢UTL_INADDR°ü»ñÈ¡ipµØÖ·
½ñÌìÓÐÅóÓÑÔÚMSNÉÏÎÊÎÒÈçºÎ»ñµÃÒѾ­Á¬½ÓÓû§µÄIPµØÖ·¡£
ÎÒÃÇÖªµÀ£¬Í¨¹ýSYS_CONTEXTº¯Êý¿ÉÒÔ»ñµÃÕⲿ·ÖÐÅÏ¢£¬µ±Ç°Óû§µÄipµÈÐÅÏ¢¿ÉÒÔͨ¹ýÈçÏÂÃüÁîÇáÒ×»ñÈ¡£º
SQL> select sys_context('userenv','host') from dual;
SYS_CONTEXT('USERENV','HOST')
------------------------------ ......

ORACLE rownumÓ÷¨(ZT

 
ÈçºÎÕýÈ·ÀûÓÃRownumÀ´ÏÞÖƲéѯËù·µ»ØµÄÐÐÊý£¿
º¬Òå½âÊÍ£º  
1¡¢rownumÊÇoracleϵͳ˳Ðò·ÖÅäΪ´Ó²éѯ·µ»ØµÄÐеıàºÅ£¬·µ»ØµÄµÚÒ»ÐзÖÅäµÄÊÇ1£¬µÚ¶þÐÐÊÇ2£¬
¡¡ ÒÀ´ËÀàÍÆ£¬Õâ¸öα×ֶοÉÒÔÓÃÓÚÏÞÖƲéѯ·µ»ØµÄ×ÜÐÐÊý¡£
2¡¢rownum²»ÄÜÒÔÈκλù±íµÄÃû³Æ×÷Ϊǰ׺¡£  
ʹÓ÷½·¨£º  
Ï ......

OracleÓû§Ãû¸ü¸Ä²Ù×÷ËIJ½×ß

ÎÒÃǵÄOracle¹ÜÀí¹¤×÷Öо­³£Éæ¼°µ½¸ü¸ÄOracleÓû§ÊôÐÔ¡¢ÃÜÂëÖ®ÀàµÄ³£ÓòÙ×÷£»µ«ÔÚijЩӦÓó¡¾°Ï£¬»áÓöµ½OracleÓû§Ãû¸ü¸ÄµÄÐèÇó£¬ÈçºÎ½â¾ö£¿ÏÂÃæͨ¹ýËĸö²½ÖèʵÏÖOracleÓû§ÃûµÄÐ޸ġ£
Ò»¡¢²éѯ¸ü¸ÄOracleÓû§Ãû
SQL> select user#,name,password from user$ where name ='TICKET ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ