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

Éî¶È¶Ô±ÈOracleÓëSQL Server – µÚÒ»²¿·Ö


²Ù
×÷ϵͳµÄÖ§³Ö
°æ
±¾ºÍ·¢Ðаæ
ʵ
Àý¡¢Êý¾Ý¿âºÍ±í¿Õ¼ä
ʵ
ÀýÃûºÍSID
ϵ
ͳÊý¾Ý¿âºÍϵͳ±í¿Õ¼ä
 
±¾ÒëÎIJÉÓÃ֪ʶ¹²ÏíÊð
Ãû-·ÇÉÌÒµÐÔʹÓÃ-Ïàͬ·½Ê½¹²Ïí 3.0 UnportedÐí¿ÉЭÒé
·¢²¼£¬×ªÔØÇë±£Áô´ËÐÅÏ¢
ÒëÕߣºÂí³ÝÜÈ | Á´½Ó£ºhttp://www.dbabeta.com/2010/oracle-sql-server-comparison-i.html
×÷ÕߣºSadequl Hussain | Ô­ÎÄ£ºhttp://www.sql-server-performance.com/articles/dba/oracle_sql_server_comparison_p1.aspx
Ò»°ãµÄ¹«Ë¾Í¨³£»áÔÚËûÃǵÄÐÅϢϵͳ¼Ü¹¹ÖÐÒýÈë¶àÖÖÊý¾Ý¿âƽ̨£¬Í¬Ê±ÒýÈëÈýµ½ËÄÖÖ²»Í¬µÄRDBMS½â¾ö·½°¸µÄÖдóÐ͹«Ë¾
Ò²²¢²»ÉÙ¼û£¬µ±È»ÕâЩ¹«Ë¾ÀïÃæµÄDBAÃÇͨ³£Ò²ÐèҪͬʱӵÓйÜÀí¶àÖÖ²»Í¬Æ½Ì¨µÄ¼¼ÄÜÁË¡£
Ö»ÔÚÒ»ÖÖƽ̨ÉÏÕ¹¿ª¹¤×÷µÄÊý¾Ý¿âר¼ÒÃÇҲͨ³£»áÆÚ´ý×ÅÔÚËûÃǵÄÏÂÒ»·Ý¹¤×÷ÖÐÄÜѧµ½µã²»Ò»ÑùµÄ¶«Î÷£¬ÄÇЩÓÐÓÂÆøµÄÈËÃÇÔòÔ¸Ò⻨ʱ¼ä¡¢½ðÇ®ºÍ¾«Á¦È¥Ñ§Ï°
еĶ«Î÷£¬Ò²ÓÐÆäËûÒòΪ»»ÁËй«Ë¾»òÕßÊÇΪÁËÕÒÐµĹ¤×÷¶øȥѧϰеÄϵͳµÄÈËÃÇ£¬ÎãÓ¹ÖÃÒɵÄÒ»µã¾ÍÊǹ«Ë¾ÀÏ°åºÍÈËÁ¦×¨¼ÒÃÇ»á¸ü¼ÓÇàíùÓÚÄÇЩӵÓжà¸öÁìÓò¾­
ÑéµÄÇóÖ°Õß¡£
ÒÀÎÒ¸öÈ˵ľ­ÑéÀ´¿´£¬ÔÚѧϰһ¸öеÄÊý¾Ýƽ̨µÄʱºò£¬×îºÃµÄ·½·¨¾ÍÊÇÔÚеĻ·¾³ÖÐÈ¥·¢ÏÖÄÇЩÄãÒÑÖªµÄ¶«Î÷£¬ÕâÑùѧϰÆðÀ´»á¼òµ¥ºÜ¶à¡£µ±È»£¬µ±ÖÐÒ²»á
Óöµ½Ò»Ð©È«ÐµĸÅÄîÐèҪȥѧϰ£¬»òÕßÊÇÍüµôһЩÄãÏÖÔÚÒÑÖªµÄ¸ÅÄµ«²»¹ÜÔõô˵Äã²»ÊÇ´ÓÁ㿪ʼµÄ¡£±ÈÈç˵һ¸ö×öSQL
Server¿ª·¢ÈËÔ±ÔÚҪдOracle´æ´¢¹ý³ÌµÄʱºò¿ÉÄÜ»áÏÈÈ¥ÕÒÄÇЩÄÚÖõĺ¯ÊýÈ»ºó±È½ÏËüÃÇÖ®¼ä²»Í¬µã£¬ËýÒ²¿ÉÄÜ»áÈ¥±È½Ï±äÁ¿ÉùÃ÷ÒÔ¼°´íÎó´¦ÀíµÄÒì
ͬ¡£
±¾ÏµÁÐÎÄÕÂÖÐÎÒ½«³¢ÊÔ¶ÔMicrosoft SQL ServerºÍOracle
RDBMS(ÒÔ10g¼°ÒÔºóµÄ°æ±¾ÎªÖ÷)½øÐÐÒ»¸öÉîÈëµÄ±È½Ï¡£ÎÒ»áÖ÷Òª¼¯ÖÐÓÚÕâÁ½ÖÖÊý¾Ý¿âÖ®¼ä¼Ü¹¹ÉϵıȽϣ¬µ±È»²»ÒªÆÚÍûÎÒ»á¸øÄãÒ»¸öÏ꾡µÄ±È½ÏÇåµ¥£¬µ«
ÊÇÎһᾡÎÒËùÄܵÄÈÃÄã¿´ÇåÕâÁ½ÖÖµ±½ñÊÀÉÏÓ¦ÓÃ×î¹ãµÄÊý¾Ý¿âÖ®¼äµÄÏàͬºÍÏàÒìÖ®´¦¡£±¾ÎÄÊÇÒÔÒ»¸öSQL Server
DBAµÄ½Ç¶ÈÈ¥¹¹Ë¼ºÍд×÷µÄ£¬²»¹ýÏàÐÅÕâ¶ÔOracleר¼ÒÃÅÁ˽âSQL ServerÕâÒ»ÃæÒ²ÊǺÜÓвο¼¼ÛÖµµÄ¡£
·Ï»°ÉÙ˵£¬¿ª¹¤°É¡£
top
²Ù
×÷ϵͳµÄÖ§³Ö
Microsoft SQL
ServerÏòÀ´¶¼´ÓÊôÓÚWindows´ó¼Ò×åÖеÄÒ»Ô±£¬ÒªÈÃMicrosoft·¢²¼Ò»¸öÖ§³ÖÆäËü²Ù×÷ϵͳ°æ±¾µÄ¿ÉÄÜÐÔµ±È»ÊÇС֮ÓÖСµÄÁË¡£µ±Ç°À´Ëµ
SQL Server¿ÉÒÔÔÚXP¡¢Vista¡¢Windows Server
2000¡¢2003¡¢2008ÉÏÔËÐУ¬Í¬Ê±Ò²ÓÐÕë¶ÔÓÚ32λºÍ64λ°æ±¾WindowsµÄÊý¾Ý¿â°æ±¾¡£
¶ÔOracleÀ´Ëµ£¬ËüÖ§³Ö¶àÖÖ²»Í¬µÄ²Ù×


Ïà¹ØÎĵµ£º

OracleϵÄÖÐÎÄÅÅÐò


alter session set nls_sort='schinese_pinyin_m';
select * from dept order by
nlssort(name,'NLS_SORT=SCHINESE_PINYIN_M');
Oracle9i֮ǰ£¬ÖÐÎÄÊÇ°´ÕÕ¶þ½øÖƱàÂë½øÐÐÅÅÐòµÄ¡£
ÔÚoracle9iÖÐÐÂÔöÁË°´ÕÕÆ´Òô¡¢²¿Êס¢±Ê»­
ÅÅÐò¹¦ÄÜ¡£ÉèÖÃNLS_SORTÖµ
SCHINESE_RADICAL_M °´ÕÕ²¿Ê×£¨µÚһ˳Ðò£©¡¢±Ê»®£¨µÚ¶þ˳Ðò£©Å ......

OracleÊý¾Ý¿âWhereÌõ¼þÖ´ÐÐ˳Ðò

1.ORACLE²ÉÓÃ×Ô϶øÉϵÄ˳Ðò½âÎöWHERE×Ó¾ä,¸ù¾ÝÕâ¸öÔ­Àí,±íÖ®¼äµÄÁ¬½Ó±ØÐëдÔÚÆäËûWHEREÌõ¼þ֮ǰ, ÄÇЩ¿ÉÒÔ¹ýÂ˵ô×î´óÊýÁ¿¼Ç¼µÄÌõ¼þ±ØÐëдÔÚWHERE×Ó¾äµÄĩβ.
¡¡¡¡ÀýÈç:
¡¡¡¡(µÍЧ)
¡¡¡¡SELECT … from EMP E WHERE SAL > 50000 AND JOB = ‘MANAGER’ AND 25 < (SELECT COUNT(*) from EMP WH ......

ת£ºOracle Ò»ÖÂÐÔ¶ÁµÄÔ­Àí

      ÔÚOracleÊý¾Ý¿âÖУ¬undoÖ÷ÒªÓÐÈý´ó×÷ÓãºÌṩһÖÂÐÔ¶Á£¨Consistent Read£©¡¢»Ø¹öÊÂÎñ£¨Rollback Transaction£©ÒÔ¼°ÊµÀý»Ö¸´£¨Instance Recovery£©¡£       Ò»ÖÂÐÔ¶ÁÊÇÏà¶ÔÓÚÔà¶Á£¨Dirty Read£©¶øÑԵġ£¼ÙÉèij¸ö±íTÖÐÓÐ10000Ìõ¼Ç¼£¬»ñÈ¡ËùÓмǼÐèÒª15·ÖÖÓʱ¼ä¡£ ......

oracle ¼ì²é±»ËøµÄ±í¼°½âËø

´¦Àí·½·¨Ò» £º
¼ì²éÄǸö±í±»Ëø
select sess.sid,sess.serial#, lo.oracle_username,lo.os_user_name,ao.object_name,lo.locked_mode
from v$locked_object lo,dba_objects ao,v$session sess
where ao.object_id = lo.object_id
and lo.session_id = sess.sid;
½âËø
alter system kill session '273,45';
´¦Àí·½·¨¶ ......

MS sql serverɾ³ý·þÎñÆ÷×é...

֮ǰΪÁË·½±ã²Ù×÷¾ÍÔÚSql ServerµÄÆóÒµ¹ÜÀíÆ÷Àï×¢²áÁËÔ¶³Ì·þÎñÆ÷£¬µ«ÊÇÇ°Ò»¶Îʱ¼äÔÚÔ¶³Ì·þÎñÆ÷ÉÏÐÞ¸ÄÁ˸ÃÊý¾Ý¿âµÄÃÜÂ룬ÿ´Îµã»÷¸Ã×¢²á·þÎñÆ÷ϵͳҪµÈºÜ³¤Ê±¼ä£¬ÏóËÀ»úÒ»Ñù£»ÐÞ¸ÄÁ¬½ÓÊôÐÔÒ²Ð޸IJ»ÁË£¬µã»÷ºóҲûÓз´Ó¦£¬ÓÚÊǾÍÏëɾ³ýÖØÐÂ×¢²á£¬¼ÈÈ»ÎÞ·¨ÔÚ¹ÜÀíÆ÷Àïɾ³ý£¬¾ÍÏë´Ó×¢²á±íÀïɾ³ý£¬ÕÒÁ˺þÃÖÕÓÚÕÒµ½ÁË£¬¶ÔÓ¦µÄsql ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ