SQL SERVER 2008 Õý³£°²×°Ê§°ÜºóµÄ¼¯³É°²×°
×î½üÐèÒª²âÊÔÒ»¸öÏîÄ¿, ÐèÒªSQL SERVER 2008, ÔÚ΢ÈíÏÂÔØÆÀ¹À°æºó½øÐа²×°
Öм䷢ÏÖÁËÖÖÖÖ°²×°Ê§°ÜµÄÎÊÌ⣬¶Ô¸Ã¹ý³Ì½øÐÐÁ˼Ǽ£¬Ï£Íû¸øÓöµ½´ËÀàÎÊÌâµÄÅóÓÑÃǹ²Í¬Ì½ÌÖ£¬ÓÐËù°ïÖú£º
1. WINDOWS 2003, WINDOWS 7 ÐÂ×°µÄʱºò¿ÉÐУ¬µ«ÊÇÈç¹ûÓÐɾ³ýºóÖØа²×°ÔòÎÞ·¨Ôٴΰ²×°
2. ¸ù¾ÝÍøÉÏÎÞÊýÏÈÇýµÄʧ°ÜÌáʾ£¬ ½øÐÐÁËÎÞÊýÖØÊÔ£¬°üÀ¨¸ü¸Ä°²×°ÎļþĿ¼£¬ÐÞ¸Ä×¢²á±íȨÏ޵Ⱦù²»Äܽâ¾ö
3. ²âÊÔÖÆ×÷¼¯³ÉSP1ºÍHOTFIX
Ê×ÏÈÏÂÔØÓйز¹¶¡
ÏÂÔØSQLServer2008SP1-KB968369-x86-CHS.exe
ÏÂÔØSQLServer2008SP1Ö®ºóµÄSP1µÄHOTFIX, ×¢ÒâÐèÒªÓÃÓʼþÊÕÈ¡½âѹÃÜÂ룬¿´À´Î¢ÈíÊÇÖÜÆڸı䲹¶¡µÄ½âѹÃÜÂ룬·ÀÖ¹ÓÐÈË×ö×Ô¶¯¸üÐÂ
4. ½âѹ
SQLServer2008SP1-KB968369-x86-CHS.exe /x:D:\SP1-PCU
SQLServer2008-KB969099-x86.exe /x:D:\SP1-CU
SQLServer2008-KB970315-x86.exe /x:D:\SP1-CU
SQLServer2008-KB973601-x86.exe /x:D:\SP1-CU
SQLServer2008-KB976761-x86.exe /x:D:\SP1-CU
5. ¼¯³É°²×°
Setup.exe /PCUSource=D:\SP1-PCU /CUSource=D:\SP1-CU
ÕâÒ»²½Ö´ÐÐʧ°Ü£¬ÌáʾÈçÏ´íÎó
Microsoft (R) SQL Server 2008
The following error occurred:
The setting 'PCUSOURCE' specified is not recognized.
Error result: -2068578301
Result facility code: 1204
Result error code: 3
Please review the summary.txt log for further details
¸ù¾ÝÏÈÇýµÄ¾Ñé ÏÈÖ´ÐнâѹºóµÄsqlsupport.msi£¬È»ºóÖØÐÂÖ´ÐÐ
ɾ³ý֮ǰ°²×°ÖУ¬´ýºóÐø...
ɾ³ýÒÅÁô°²×°»¨ÁË¿ìÒ»¸öСʱ
ÔÚÎÒµÄÀÏNBÉÏ×°ÁËÁ½¸ö¶à¸öСʱÁË£¬ÖÕÓÚ°²×°³É¹¦£¡
°²×°ºó²éѯһÏ°汾Ϊ Microsoft SQL Server 2008 (SP1) - 10.0.2740.0 (Intel X86) Oct 24 2009 15:53:40
Ïà¹ØÎĵµ£º
´¦ÀíSQL ServerÊý¾Ý¿âÖеĹÂÁ¢Óû§(ͼ)
°ÑÊý¾Ý¿â´ÓÒ»¸ö·þÎñÆ÷ʵÀý¸½¼ÓºÍ»Ö¸´µ½ÁíÒ»¸öʵÀýÖÐÊÇÊý¾Ý¿â¹ÜÀíÔ±Ö´Ðеij£¼ûµÄÈÎÎñ¡£¸½¼Ó»òÕ߻ָ´Ò»¸öÊý¾Ý¿âÖ®ºó£¬Ö®Ç°ÔÚÊý¾Ý¿âÖд´½¨ºÍÅäÖõĵǼÃûÒѾ²»ÄÜ·ÃÎÊÁË¡£Õâ¸öÎÊÌâ×î³£¼ûµÄÖ¢×´ÊÇÓ¦ÓóÌÐò»áÓöµ½µÇ¼ʧ°ÜµÄ´íÎ󣬻òÕßÊǵ±ÄãÊÔ×ŰѵǼÃûÌí¼Óµ½Êý¾Ý¿âÖÐʱ£¬Äã¿ÉÄÜ»áµÃµ½Ò» ......
Èç¹ûÄãµÄÊý¾Ý¿âÔËÐÐÔÚÍêÕû»òÊÇÅúÁ¿ÈÕÖ¾»Ö¸´Ä£Ê½Ï£¬ÄÇôÄã¾ÍÐèҪʹÓÃ×÷Òµ(job)À´¶¨ÆÚ±¸·ÝÊÂÎñÈÕÖ¾£¬±£³ÖÄãµÄÊÂÎñÎļþ´óС´¦ÔÚÒ»¸ö¿É¹ÜÀíµÄ·¶Î§¡£µ±ÄãÐèÒª»¹ÔÊÂÎñÈÕ־ʱ£¬Äã¾ÍÐèÒª°´ÕÕ´´½¨ÊÂÎñÈÕÖ¾µÄ˳ÐòÀ´»Ö¸´ËüÃÇ¡£Äã¿ÉÒԲο¼´æÔÚmsdb..backupset±íÖеÄÐÅÏ¢À´È·¶¨»¹ÔÎļþµÄ˳Ðò£¬Ê¹ÓÃFirstLSNºÍLastLSNÁеÄÖµ×÷²Î¿¼¡£µ±Ä ......
н¨±í£º
create table [±íÃû]
(
[×Ô¶¯±àºÅ×Ö¶Î] int IDENTITY (1,1) PRIMARY KEY ,
[×Ö¶Î1] nVarChar(50) default 'ĬÈÏÖµ' null ,
[×Ö¶Î2] ntext null ,
[×Ö¶Î3] datetime,
[×Ö¶Î4] money null ,
[×Ö¶Î5] int default 0,
[×Ö¶Î6] Decimal (12,4) default 0,
[×Ö¶Î7] image null ,
)
ɾ³ý±í£º
Drop table [±í ......
Èç¹ûÏë²éÕÒ“_cs”½áβµÄµÄÕË»§
select * from [user] where loginname like '%_cs'ÊDz»Ðеģ¬_ ±»ÈÏΪÊÇÈÎÒâµÄ×Ö·û£¬
ËùÒÔÐèҪתÒå×Ö·û£¬ÓÐÁ½ÖÖд·¨£º
select * from [user] where loginname like '%[_]cs'
select * from [user] where loginname like '%/_cs' escape'/'
ͨÅä·ûº¬Òå
%
°üº¬Áã¸ö»ò¸ü¶à×Ö· ......