Éî¶È¶Ô±ÈOracleÓëSQL Server
Ò»°ãµÄ¹«Ë¾Í¨³£»áÔÚËûÃǵÄÐÅϢϵͳ¼Ü¹¹ÖÐÒýÈë¶àÖÖÊý¾Ý¿âƽ̨£¬Í¬Ê±ÒýÈëÈýµ½ËÄÖÖ²»Í¬µÄ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 Server 2008£¬¼´½«ÍƳöµÄÏÂÒ»°æ±¾ÊÇSQL Server 2008 R2£¬ÏÖÔÚÒѾÔÚCTP½×¶ÎÁË£¬ËüµÄÉÏÒ»¸ö°æ±¾£¬SQL Server 2005£¬Ïà¶ÔÓÚÔÙ֮ǰµÄSQL Server 2000µÄÒ»¸ö´óÉý¼¶¡£²»¹ý¶ÔºÜ¶à¹«Ë¾À´ËµSQL Server 2005»¹ÊÇÓеãУ¬ÒòΪËûÃÇÏÖÔÚ»¹ÊÇÔÚ´óÁ¿µÄʹÓÃ×ÅSQL Server 2000.
ÁíÒ»·½ÃæOracleһ·×ßÀ´×îа汾ÒѾ
Ïà¹ØÎĵµ£º
select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t
select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t where t.OSUSER='admin'
select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t where t.OSUSER='liuzhaoqing'
select t.OSUSER,t.STATUS,t.LOGON_TIME from v$session t where t.OSUSER='ymx'
sel ......
select * into destTbl from srcTbl
insert into destTbl(fld1, fld2) select fld1, 5 from srcTbl
ÒÔÉÏÁ½¾ä¶¼Êǽ« srcTbl µÄÊý¾Ý²åÈëµ½ destTbl£¬µ«Á½¾äÓÖÓÐÇø±ðµÄ£º
µÚÒ»¾ä£¨select into from£©ÒªÇóÄ¿±ê±í£¨destTbl£©²»´æÔÚ£¬ÒòΪÔÚ²åÈëʱ»á×Ô¶¯´´½¨¡£
µÚ¶þ¾ä£¨insert into select from£©ÒªÇóÄ¿±ê±í£¨dest ......
Êýѧº¯Êý£º
1.¾ø¶ÔÖµ
S:SELECT abs(-1) value
O:SELECT abs(-1) value from dual
2.È¡Õû(´ó)
S:SELECT ceiling(-1.001) value
O:SELECT ceil(-1.001) value from dual
3.È¡Õû£¨Ð¡£©
S:SELECT floor(-1.001) value
O:SELECT floor(-1.001) value from dual
4.È¡Õû£¨½ØÈ¡£©
S:SELECT cast(-1.002 as int) value
O ......
ͨ¹ýEXCELµ¼ÈëSSASÏîÄ¿
£¨1£©±¾µØÅäÖÃHTTP
Ö÷Òª²½Ö裺
I£©Ð½¨Ä¿Â¼olap£¬¿½±´Îļþ½« %Installation folder%\OLAP\bin\isapi Ŀ¼µÄÄÚÈÝ£¬Ö÷ÒªÊÇmsmdpump.dllºÍmsmdpump.ini£»
II£©½¨Á¢ÐéÄâĿ¼olap, ÅäÖÃmsmdpump.dll£¬Ä¿Â¼°²È«ÐÔÑ¡ÔñÄäÃû·ÃÎʺÍwindows¼¯³É¡£
http://www.microsoft.com/china/technet/prodtechn ......