oracle ×Ö·û¼¯ÎÊÌâ
1.oracle×Ö·û¼¯ÎÊÌ⣺
Êý¾Ý¿â×Ö·û¼¯ÎªZHS16BGK£¬ºº×ÖÔÚÊý¾Ý¿â´æ·ÅµÄʱºòÕ¼ÓÃÁ½¸ö×Ö½Ú
Êý¾Ý¿â×Ö·û¼¯ÎªUTF8£¬ºº×ÖÔÚÊý¾Ý¿âÀï´æ·ÅµÄʱºòÕ¼ÓÃÈý¸ö×Ö½Ú
ÓÉÓÚ×Ö·û¼¯²»Í¬£¬µ¼ÖÂÏÖÔÚÊý¾Ý¿âIMPµÄʱºòÓÐЩ±íµÄ×ֶγ¤¶È²»¹»£¬³öÏÖORA-12899: value too large for columnµÄ´íÎó¡£
ͨ¹ýÐÞ¸Ä×Ö·û¼¯¿ÉÒÔ½â¾öÕâÖÖÎÊÌâ¡£
2.utf-8ºÍunicodeµÄÇø±ð£º
Ê×ÏÈUTF8±àÂëºóµÄ´óСÊDz»Ò»¶¨£¬²»ÏñUnicode±àÂëºóµÄ´óСÊÇÒ»ÑùµÄ£¡
ÎÒÃÇÏÈÀ´¿´UnicodeµÄ±àÂ룺һ¸öÓ¢ÎÄ×Öĸ “a” ºÍ¡¡Ò»¸öºº×Ö “ºÃ”£¬±àÂëºó¶¼ÊÇÕ¼ÓõĿռä´óСÊÇÒ»ÑùµÄ£¬¶¼ÊÇÁ½¸ö×Ö½Ú£¡
¶øUTF8±àÂ룺һ¸öÓ¢ÎÄ×Öĸ“a” ºÍ¡¡Ò»¸öºº×Ö “ºÃ”£¬±àÂëºóÕ¼ÓõĿռä´óС¾Í²»ÑùÁË£¬Ç°ÕßÊÇÒ»¸ö×Ö½Ú£¬ºóÕßÊÇÈý¸ö×Ö½Ú£¡
ÏÖÔÚ¾ÍÈÃÎÒÃÇÀ´¿´¿´UTF8±àÂëµÄÔÀí°É£º
¡¡¡¡ÒòΪһ¸ö×Öĸ»¹ÓÐһЩ¼üÅÌÉϵķûºÅ¼ÓÆðÀ´Ö»Óöþ½øÖÆÆßλ¾Í¿ÉÒÔ±íʾ³öÀ´£¬¶øÒ»¸ö×Ö½Ú¾ÍÊÇ°Ë룬ËùÒÔUTF8¾ÍÓÃÒ»¸ö×Ö½ÚÀ´±íʽ×ÖĸºÍһЩ¼üÅÌÉϵķûºÅ¡£È»¶øµ±ÎÒÃÇÄõ½±»±àÂëºóµÄÒ»¸ö×Ö½ÚºóÔõô֪µÀËüµÄ×é³É£¿ËüÓпÉÄÜÊÇÓ¢ÎÄ×ÖĸµÄÒ»¸ö×Ö½Ú£¬Ò²ÓпÉÄÜÊǺº×ÖµÄÈý¸ö×Ö½ÚÖеÄÒ»¸ö×Ö½Ú£¡ËùÒÔ£¬UTF8ÊÇÓбê־λµÄ£¡
¡¡¡¡µ±Òª±íʾµÄÄÚÈÝÊÇ¡¡7λ¡¡µÄʱºò¾ÍÓÃÒ»¸ö×Ö½Ú£º0******* ¡¡µÚÒ»¸ö0Ϊ±ê־λ£¬Ê£ÏµĿռäÕýºÃ¿ÉÒÔ±íʾASCII¡¡0£127¡¡µÄÄÚÈÝ¡£
¡¡¡¡µ±Òª±íʾµÄÄÚÈÝÔÚ¡¡8¡¡µ½¡¡11¡¡Î»µÄʱºò¾ÍÓÃÁ½¸ö×Ö½Ú£º110***** 10****** ¡¡µÚÒ»¸ö×Ö½ÚµÄ110ºÍµÚ¶þ¸ö×Ö½ÚµÄ10Ϊ±ê־λ¡£
¡¡¡¡µ±Òª±íʾµÄÄÚÈÝÔÚ¡¡12¡¡µ½¡¡16¡¡Î»µÄʱºò¾ÍÓÃÈý¸ö×Ö½Ú£º1110***** 10****** 10****** ¡¡¡¡¡¡ºÍÉÏÃæÒ»Ñù£¬µÚÒ»¸ö×Ö½ÚµÄ1110ºÍµÚ¶þ¡¢Èý¸ö×Ö½ÚµÄ10¶¼ÊDZê־λ£¬Ê£ÏµĿռäÕýºÃ¿ÉÒÔ±íʾºº×Ö¡£
¡¡¡¡ÒÔ´ËÀàÍÆ£º
Ëĸö×Ö½Ú£º11110**** 10****** 10****** 10******
¡¡¡¡Îå¸ö×Ö½Ú£º111110*** 10****** 10****** 10****** 10******
¡¡¡¡Áù¸ö×Ö½Ú£º1111110** 10****** 10****** 10****** 10****** 10******
Ïà¹ØÎĵµ£º
1. ASCII: ·µ»ØÓëÖ¸¶¨µÄ×Ö·û¶ÔÓ¦µÄÊ®½øÖÆÊý;
SQL> select ascii('A') A,ascii('a') a,ascii(0) zero,ascii('') space from dual;
A A ZERO SPACE
--------- --------- --------- ---------
65 97 48
2. CHR:¸ø³öÕûÊý,·µ»Ø¶ÔÓ¦µÄ×Ö·û;
SQ ......
ͨ¹ýoracle 11g Á¬½Ómssql 2005 ±¨ÏÂÃæµÄ´íÎó
select * from maintanance@mssql
*
µÚ 1 ÐгöÏÖ´íÎó:
ORA-28545: Á¬½Ó´úÀíʱ Net8 Õï¶Ïµ½´íÎó
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: ½ô½Ó×Å 2 lines (Æð×Ô MSSQL)
oracle 11g listener.oraÅäÖÃÈçÏ£º
# listener.ora Network Configurati ......
OracleûÓÐ×Ô¶¯Ôö³¤µÄÊý¾ÝÀàÐÍ£¬ÎÒÃÇÐèÒª½¨Á¢Ò»¸ö×Ô¶¯Ôö³¤µÄÐòÁкţ¬²åÈë¼Ç¼ʱҪ°ÑÐòÁкŵÄÏÂÒ»¸öÖµ¸³ÓÚ´Ë×ֶΣ¡
create sequence type_id increment by 1 start with 1;
Õâ¾äÖУ¬type_idΪÐòÁкŵÄÃû³Æ£¬Ã¿´ÎÔö³¤Îª1£¬ÆðʼÐòºÅΪ1¡£
Èç¹ûҪɾ³ýÐòÁУ¬ÓÃdrop sequence ÐòÁÐÃû¾Í¿ÉÒÔÁË£¡£¡
ÐòÁпÉÒÔ±£Ö¤¶à¸öÓû§¶ÔÍ¬Ò»Õ ......
http://www.diybl.com/course/7_databases/oracle/oraclejs/2007614/52942.html
ÕªÒª£ºÔÚ´óÁ¿ÒµÎñÊý¾Ý´¦ÀíµÄÏîÄ¿ÖУ¬¿ÉÒÔ¿¼ÂÇʹÓ÷ÖÇø±íÀ´Ìá¸ßÓ¦ÓÃϵͳµÄÐÔÄܲ¢·½±ãÊý¾Ý¹ÜÀí£¬±¾ÎÄÏêϸ½éÉÜÁË·ÖÇø±íµÄʹÓá£
¡¡¡¡ ÔÚ´óÐ͵ÄÆóÒµÓ¦ÓûòÆóÒµ¼¶µÄÊý¾Ý¿âÓ¦ÓÃÖУ¬Òª´¦ÀíµÄÊý¾ÝÁ¿Í¨³£¿ÉÒÔ´ïµ½¼¸Ê®µ½¼¸°ÙGB£¬ÓеÄÉõÖÁ¿ÉÒÔµ½T ......
author:skate
tiime:2009-11-18
ORACLEµÈ´ýʼþÀàÐÍ¡¾Classes of Wait Events¡¿
ÿһ¸öµÈ´ýʼþ¶¼ÊôÓÚijһÀ࣬ÏÂÃæ¸ø³öÁËÿһÀàµÈ´ýʼþµÄÃèÊö¡£¡¾Every wait event belongs to a class of wait event.
The following list describes each of the wait classes.¡¿
1. ¹ÜÀíÀࣺAdministrative
´ËÀàµÈ´ýʼþÊÇÓÉÓÚDBAµÄ ......