Oracle ×Ö·û¼¯µÄ²é¿´ºÍÐÞ¸Ä
< type="text/javascript">
document.body.oncopy = function() {
if (window.clipboardData) {
setTimeout(function() {
var text = clipboardData.getData("text");
if (text && text.length > 300) {
text = text + "\r\n\n±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£º" + location.href;
clipboardData.setData("text", text);
}
}, 100);
}
}
http://blog.csdn.net/tianlesoftware/archive/2009/12/01/4915223.aspx
Ò»¡¢Ê²Ã´ÊÇ
Oracle
×Ö·û¼¯
Oracle
×Ö·û¼¯ÊÇÒ»¸ö×Ö½ÚÊý¾ÝµÄ½âÊ͵ķûºÅ¼¯ºÏ
,
ÓдóС֮·Ö
,
ÓÐÏ໥µÄ°üÈݹØϵ¡£
ORACLE
Ö§³Ö¹ú¼ÒÓïÑÔµÄÌåϵ½á¹¹ÔÊÐíÄãʹÓñ¾µØ»¯ÓïÑÔÀ´´æ´¢£¬´¦Àí£¬¼ìË÷Êý¾Ý¡£Ëüʹ
Êý¾Ý¿â
¹¤¾ß£¬´íÎóÏûÏ¢£¬ÅÅÐò´ÎÐò£¬ÈÕÆÚ£¬Ê±¼ä£¬»õ±Ò£¬Êý×Ö£¬ºÍÈÕÀú×Ô¶¯ÊÊÓ¦±¾µØ»¯ÓïÑÔºÍƽ̨¡£
Ó°Ïì
Oracle
Êý¾Ý¿â×Ö·û¼¯×îÖØÒªµÄ²ÎÊýÊÇ
NLS_LANG
²ÎÊý¡£
ËüµÄ¸ñʽ
ÈçÏÂ
: NLS_LANG = language_territory.charset
ËüÓÐÈý¸ö×é³É²¿·Ö
(
ÓïÑÔ¡¢µØÓòºÍ×Ö·û¼¯
)
£¬Ã¿¸ö³É·Ö¿ØÖÆÁË
NLS
×Ó¼¯µÄÌØÐÔ¡£
ÆäÖÐ
:
Language
£º
Ö¸¶¨·þÎñÆ÷ÏûÏ¢µÄÓïÑÔ£¬
Ó°ÏìÌáʾÐÅÏ¢ÊÇÖÐÎÄ»¹ÊÇÓ¢ÎÄ
Territory
£º
Ö¸¶¨·þÎñÆ÷µÄÈÕÆÚºÍÊý×Ö¸ñʽ£¬
Charset
£º
Ö¸¶¨×Ö·û¼¯¡£
Èç
:AMERICAN _ AMERICA. ZHS16GBK
´Ó
NLS_LANG
µÄ×é³ÉÎÒÃÇ¿ÉÒÔ¿´³ö£¬ÕæÕýÓ°ÏìÊý¾Ý¿â×Ö·û¼¯µÄÆäʵÊǵÚÈý²¿·Ö
¡£
ËùÒÔÁ½¸öÊý¾Ý¿âÖ®¼äµÄ×Ö·û¼¯Ö»ÒªµÚÈý²¿·ÖÒ»Ñù¾Í¿ÉÒÔÏ໥µ¼Èëµ¼³öÊý¾Ý£¬Ç°ÃæÓ°ÏìµÄÖ»ÊÇÌáʾÐÅÏ¢ÊÇÖÐÎÄ»¹ÊÇÓ¢ÎÄ
¡£
¶þ£®×Ö·û¼¯µÄÏà¹Ø֪ʶ£º
2.1
×Ö·û¼¯
ʵÖʾÍÊÇ°´ÕÕÒ»¶¨µÄ×Ö·û±àÂë·½°¸£¬¶ÔÒ»×éÌض¨µÄ·ûºÅ£¬·Ö±ð¸³Ó費ͬÊýÖµ±àÂëµÄ¼¯ºÏ¡£
Oracle
Êý¾Ý¿â×îÔçÖ§³ÖµÄ±àÂë·½°¸ÊÇ
US7ASCII
¡£
Oracle
µÄ
Ïà¹ØÎĵµ£º
delete ɾ³ýÒ»ÕÅ´ó±íʱ¿Õ¼ä²»ÊÍ·Å£¬·Ç³£ÂýÊÇÒòΪռÓôóÁ¿µÄϵͳ×ÊÔ´£¬Ö§³Ö»ØÍ˲Ù×÷£¬¿Õ¼ä»¹±»ÕâÕűíÕ¼ÓÃ×Å¡£
truncate table ±íÃû (ɾ³ý±íÖмǼʱÊͷűí¿Õ¼ä)
DML Óï¾ä£º
±í¼¶¹²ÏíËø£º ¶ÔÓÚ²Ù×÷Ò»ÕűíÖеIJ»Í¬¼Ç¼ʱ£¬»¥²»Ó°Ïì
Ðм¶ÅÅËüËø£º¶ÔÓÚÒ»ÐмǼ£¬oracle »áÖ»ÔÊÐíÖ»ÓÐÒ»¸öÓû§¶ÔËüÔÚͬһʱ¼ä½øÐÐÐ޸IJÙ×÷ ......
LoadBalance ¾ÍÊǰѸºÔØƽ¾ùµÄ·ÖÅäµ½¼¯ÈºÖеĸ÷¸ö½Úµã£¬´Ó¶øÌá¸ßÕûÌåµÄÍÌÍÂÄÜÁ¦¡£ Oracle 10g RAC ÌṩÁËÁ½ÖÖ²»Í¬µÄ·½·¨À´·ÖÉ¢¸ºÔØ£º
1. ͨ¹ýConnection Balancing£¬°´ÕÕijÖÖËã·¨°ÑÓû§·ÖÅäµ½²»Í¬µÄ½Úµã¡£Ò²¿ÉÈÏΪÊÇ´¿¼¼ÊõµÄ·ÖÉ¢¸ºÔØ¡£
2. ͨ¹ýService£¬ÔÚÓ¦ÓòãÉϽøÐзÖÉ¢£¬Ò ......
1>.NUMBERÀàÐÍϸ½²£º
Oracle number datatype Óï·¨£ºNUMBER[(precision [, scale])]
¼ò³Æ£ºprecision --> p
scale --> s
NUMBER(p, s)
·¶Î§£º 1 <= p <=38, -84 <= s <= 127
±£´æÊý¾Ý·¶Î§£º-1.0e-130 <= number value < 1.0e+1 ......
Ò»¡¢ÔÚ²»ÖªµÀ²¿ÃÅ“SALES”µÄ²¿ÃűàºÅµÄÇé¿öÏ£¬²é³ö´Ë²¿ÃŵÄËùÓÐÔ±¹¤ÐÕÃû¡£
select e.ename
from emp e
where e.deptno=(select deptno from dept where dname='SALES');
2¡¢²éѯ³öÔÂн¸ßÓÚ¹«Ë¾Æ½¾ùÔÂнµÄËùÓÐÔ±¹¤±àºÅ£¬ÐÕÃû£¬ËùÓв¿ÃűàºÅ£¬²¿ÃÅÃû³Æ£¬Éϼ¶Áìµ¼Ãû£¬ÒÔ¼°
ËûµÄ¹¤×ʵȼ¶¡£
SE ......