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

[ÍƼö] Éî¶È¶Ô±ÈOracleÓëSQL Server [1]

±¾ÒëÎ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À´Ëµ£¬ËüÖ§³Ö¶àÖÖ²»Í¬µÄ²Ù×÷ϵͳƽ̨£¬°üÀ¨Windows£¨32λºÍ64룩£¬ÁíÍ⻹ÓÐÖ§³ÖLinuxºÍ²»Í¬·ÖÖ§µÄ Unix£¨Solaris¡¢HP-UX¡¢AIXµÈµÈ£©
top°æ±¾ºÍ·¢Ðаæ
ÔÚ±¾Ð´×÷ʱ£¬MicrosoftÊý


Ïà¹ØÎĵµ£º

SQL´æ´¢¹ý³ÌʵÀý


Àý1 ´«ÈëÒ»¸ö²ÎÊý@username,ÅжÏÓû§ÊÇ·ñ´æÔÚ
-------------------------------------------------------------------------------
CREATE PROC IsExistUser
(
@username varchar(20),
@IsExistTheUser varchar(25) OUTPUT--Êä³ö²ÎÊý
)
as
SELECT @IsExistTheUser = count(username)
from users
WHERE username ......

sql´æ´¢¹ý³ÌѧϰʵÀý

ʲôÊÇ´æ´¢¹ý³ÌÄØ£¿
¡¡¡¡¶¨Ò壺
¡¡¡¡½«³£ÓõĻòºÜ¸´ÔӵŤ×÷£¬Ô¤ÏÈÓÃSQLÓï¾äдºÃ²¢ÓÃÒ»¸öÖ¸¶¨µÄÃû³Æ´æ´¢ÆðÀ´, ÄÇôÒÔºóÒª½ÐÊý¾Ý¿âÌṩÓëÒѶ¨ÒåºÃµÄ´æ´¢¹ý³ÌµÄ¹¦ÄÜÏàͬµÄ·þÎñʱ,Ö»Ðèµ÷ÓÃexecute,¼´¿É×Ô¶¯Íê³ÉÃüÁî¡£
¡¡¡¡½²µ½ÕâÀï,¿ÉÄÜÓÐÈËÒªÎÊ£ºÕâô˵´æ´¢¹ý³Ì¾ÍÊÇÒ»¶ÑSQLÓï¾ä¶øÒÑ°¡£¿
¡¡¡¡Microsoft¹«Ë¾ÎªÊ²Ã´»¹ÒªÌí¼ÓÕ ......

jdbcÖе÷ÓÃoracle´æ´¢¹ý³Ì

1¡¢´´½¨±í£º
     create table stud(
             sid int,
            sname varchar2(50)
     )
     ²¢²åÈëÒ»ÌõÊý¾Ý
&n ......

SQL server 2005 ¿ªÊ¼°²×°ºósaÎÞ·¨µÇ¼ÎÊÌâ

1.ʹÓÃManagement Studio Express£¬ÓÓWindowsÉí·ÝÑéÖ¤”µÇ¼£¬Ñ¡ÖÐSQL·þÎñÆ÷Ãû£¬ÓÒ»÷Êó±êÑ¡ÔñÊôÐÔ£¬ÔÚ·þÎñÆ÷ÊôÐÔÑ¡ÏîÒ³Ã棬ѡÔñ“°²È«ÐÔ”£¬½«·þÎñÆ÷Éí·ÝÑéÖ¤ÓÉ“WindowsÉí·ÝÑéÖ¤”¸ÄΪ“SQL ServerºÍWindowsÉí·ÝÑéÖ¤”£¬µ¥»÷È·¶¨¡£
 2.ʹÓÃSQL  Server 2005ÍâΧӦÓà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ