ÐÂÆô¶¯£¨»òÕßÍê³É°²×°µ«Î´ÇëÇóÖØÐÂÆô¶¯£©Ö®ºó£¬Ê¹Óá°¿ØÖÆÃæ°å¡±Öеġ°·þÎñ¡±Ó¦ÓóÌÐò£¬È·±£ÔÚÓ¦Óà Service Pack ֮ǰֹͣµÄËùÓзþÎñÏÖÔÚÕýÔÚÔËÐС£ÔÚÓ¦Óà Service Pack ֮ǰ¿ÉÄÜÒÑÍ£Ö¹µÄ·þÎñ°üÀ¨ DTC¡¢MSSQLServer ºÍ SQLServerAgent ·þÎñ»òÆäʵÀýרÓõÄͬµÈ·þÎñ¡£
ÇëÖØÐÂÆô¶¯ÔËÐÐ Service Pack °²×°³ÌÐò֮ǰ¹Ø±ÕµÄÓ¦ÓóÌÐò¡£ ´Ëʱ£¬¶ÔÉý¼¶ºóµÄ master ºÍ msdb Êý¾Ý¿â½øÐб¸·ÝÒ²ÊÇÃ÷Öǵġ£ [·µ»ØÒ³Ê×]
3.4 ÔÚ¸´ÖÆ·þÎñÆ÷ÉÏ°²×° MSDE 2000 SP4
ÒÔÏÂÐÅÏ¢½öÊÊÓÃÓÚ×÷ΪºÏ²¢¸´ÖÆÍØÆËÒ»²¿·ÖµÄÏÖÓÐ MSDE 2000 ʵÀý¡£
?
ÔÚÉý¼¶µ½ SP4 ֮ǰ£¬ÇëÈ·±£ÓÃÀ´ÔËÐÐ SQL Server ·þÎñµÄ Windows ÕÊ»§ÊÇ
sysadmin ¹Ì¶¨·þÎñÆ÷½ÇÉ«µÄ³ÉÔ±¡£Ö®ËùÒÔ±ØÐëÈ·ÈÏ£¬ÊÇÒòΪҪͨ¹ý SQL Server ·þÎñÕÊ»§µÄÉÏÏÂÎÄÉý¼¶¸´ÖÆ·Ö·¢Êý¾Ý¿â¡£ÔÚÉý¼¶µ½ SP4 Ö®ºó£¬Ó¦´Ó sysadmin ½ÇÉ«ÖÐɾ³ý¸Ã Windows ÕÊ»§¡£
Éý¼¶·¢²¼·þÎñÆ÷Ç°£¬±ØÐëÏÈÉý¼¶·Ö·¢·þÎñÆ÷¡£
¶ÔÓÚ»ùÓÚÊÂÎñ¸´ÖƼ°Ö»¶Á¶©ÔÄ·þÎñÆ÷µÄ¸´ÖÆÍØÆË£¬Èç¹ûÐèÒªÉý¼¶ÍØÆËÖÐµÄ MSDE 2000 ʵÀý£¬¿ÉÒÔÔÚÉý¼¶·¢²¼·þÎñÆ÷ºÍ·Ö·¢·þÎñÆ÷֮ǰ»òÖ®ºóÉý¼¶¶©ÔÄ·þÎñÆ÷¡£ ¶ÔÓÚ»ùÓںϲ¢¸´ÖÆ»òÊÂÎñ¸´ÖƼ°¸üж©ÔÄ·þÎñÆ÷µÄ¸´ÖÆÍØÆË£¬Èç¹ûÐèÒªÉý¼¶ÍØÆËÖÐµÄ MSDE 2000 ʵÀý£¬±ØÐëÔÚÉý¼¶·¢²¼·þÎñÆ÷ºÍ·Ö·¢·þÎñÆ÷Ö®ºóÉý¼¶¶©ÔÄ·þÎñÆ÷¡£
? ?
?
˵Ã÷ Ðí¶àÇé¿öÏ£¬ÓÈÆäÔںϲ¢¸´ÖÆÖУ¬·Ö·¢·þÎñÆ÷ºÍ·¢²¼·þÎñÆ÷λÓÚͬһ̨·þÎñÆ÷£¬ÔÚͬһʱ¼äÉý¼¶¡£
?
Èç¹ûҪʹÓúϲ¢¸´ÖÆ£¬¶ø·Ö·¢·þÎñÆ÷λÓÚÁíһ̨¼ÆËã»ú»òÊý¾Ý¿âʵÀý£¨Ô¶³Ì·Ö·¢·þÎñÆ÷£©ÉÏ£¬Ôò±ØÐëÔÚÓ¦Óà SP4 Ö®ºóÉú³ÉÒ»¸öпìÕÕ¡£
²»Äܽ«¸´ÖÆÍØÆËÖÐµÄ MSDE 1.0 ʵÀýÉý¼¶µ½ MSDE 2000 SP4¡£
?
[·µ»ØÒ³Ê×]
ÔÚÓÃ×÷·¢²¼·þÎñÆ÷ºÍ¶©ÔÄ·þÎñÆ÷µÄ·þÎñÆ÷ÉÏ°²×° MSDE 2000 SP4
ÔÚÒÔÏÂÇé¿öÏ£¬ÐèҪʹϵͳÔÝÍ££¨Í£Ö¹ËùÓиüУ©²¢Í¬Ê±Éý¼¶ËùÓзþÎñÆ÷¡£
?
¶ÔÓÚ»ùÓںϲ¢¸´ÖƵĸ´ÖÆÍØÆË
?
¶ÔÓÚ»ùÓÚ¸üж©ÔÄ·þÎñÆ÷µÄÊÂÎñ¸´ÖƵĸ´ÖÆÍØÆË£¬ÆäÖÐÒ»¸ö»ò¶à¸ö·þÎñÆ÷¼È³äµ±¶©ÔÄ·þÎñÆ÷£¬Óֳ䵱·¢²¼·þÎñÆ÷£¨»ò·Ö·¢·þÎñÆ÷£©¡£
ʾÀý 1£ºÐèҪͬʱÉý¼¶µÄÍØÆË
ϱíÖаüÀ¨µÄ·þÎñÆ÷¼È·¢²¼ÓÖ¶©ÔÄÔÊÐíÔÚ¶©ÔÄ·þÎñÆ÷ÉϽøÐиüеķ¢²¼¡£ÈçÉÏÒ»½ÚËùÊö£¬¶ÔÓÚÔÊÐíÔÚ¶©ÔÄ·þÎñÆ÷ÉϽøÐиüеÄÍØÆË£¬±ØÐë×ñÑÏÂÁÐÉý¼¶Ë³Ðò£º·Ö·¢·þÎñÆ÷¡¢·¢²¼·þÎñÆ÷¡¢¶©ÔÄ·þÎñÆ÷¡£´Ë˳ÐòÒªÇ󣬶ÔÓںϲ¢·¢²¼£¬ÏÈÉý¼¶·þÎñÆ÷ A£»¶ÔÓÚͨ¹ý¸üж©ÔÄ·þÎñÆ÷½øÐеÄÊÂÎñ·¢²¼£¬ÏÈÉý¼¶·þÎñÆ÷ B¡£ÔÚ´ËÇé¿öÏ£¬±ØÐëʹϵͳÔÝÍ££¬È»ºóͬʱÉý¼¶ÕâЩ·þÎñÆ÷¡£
·þÎñÆ÷ A ·þÎñÆ÷ B ÓÃÓںϲ¢¸´ÖƵķ¢²¼·þÎñÆ÷/·Ö·¢·þÎñÆ÷ ÓÃÓںϲ¢¸´ÖƵĶ©ÔÄ·þÎñÆ÷ ÓÃÓÚͨ¹ý¸üнøÐÐÊÂÎñ¸´ÖƵĶ©ÔÄ·þÎñÆ÷ ÓÃÓÚͨ¹ý¸üнøÐÐÊÂÎñ¸´ÖƵķ¢²¼·þÎñÆ÷/·Ö·¢·þÎñÆ÷
ʾÀý 2£ºÔÊÐíÒÀ´ÎÉý¼¶µÄÍØÆË
ÔÚ´ËʾÀýÖУ¬¿ÉÒÔÊ×ÏÈÉý¼¶·þÎñÆ÷ A£¬ÒòΪֻ¶ÁÊÂÎñ¸´ÖÆÔÊÐíÔÚÉý¼¶·¢²¼·þÎñÆ÷/·Ö·¢·þÎñÆ÷֮ǰÏÈÉý¼¶¶©ÔÄ·þÎñÆ÷¡£
·þÎñÆ÷ A ·þÎñÆ÷ B ÓÃÓںϲ¢¸´ÖƵķ¢²¼·þÎñÆ÷/·Ö·¢·þÎñÆ÷ ÓÃÓںϲ¢¸´ÖƵĶ©ÔÄ·þÎñÆ÷ ÓÃÓÚÖ»¶ÁÊÂÎñ¸´ÖƵĶ©ÔÄ·þÎñÆ÷ ÓÃÓÚÖ»¶ÁÊÂÎñ¸´ÖƵķ¢²¼·þÎñÆ÷/·Ö·¢·þÎñÆ÷
[·µ»ØÒ³Ê×]
3.5 ½« MSDE 2000 SP4 Ó¦ÓÃÓÚ¸´ÖÆÍØÆËÖеÄÖ»¶ÁÊý¾Ý¿â»òÎļþ×é
ÒÔÏÂÐÅÏ¢½öÊÊÓÃÓÚ×÷ΪºÏ²¢¸´ÖÆÍØÆËÒ»²¿·ÖµÄ MSDE 2000 ʵÀý¡£ Èç¹û´æÔÚÖ»¶ÁÊý¾Ý¿â»òÎļþ×飬Ôò°²×°³ÌÐò½«ÏÔʾÒÔÏÂÏûÏ¢£º
Setup has detected one or more databases and filegroups which are not writable.
ͨ³££¬¿ÉÒÔºöÂԴ˾¯¸æ²¢¼ÌÐøÔËÐа²×°³ÌÐò¡£µ«ÊÇ£¬Èç¹û°²×°³ÌÐòÈÕÖ¾ÖÐÁгöµÄÈκÎÖ»¶ÁÊý¾Ý¿âÊǸ´ÖÆÍØÆ˵ijÉÔ±£¬Ôò±ØÐëʹÕâЩÊý¾Ý¿â¿Éд£¬²¢½« SP4 °²×°³ÌÐòÖØÐÂÓ¦ÓÃÓڸà SQL Server 2000 ʵÀý¡£
°²×°¹ý³ÌÖУ¬°²×°³ÌÐò²»»áÇø·ÖÖ»¶ÁÊý¾Ý¿âºÍÍÑ»ú»ò¿ÉÄÜÓÐÎÊÌâµÄÊý¾Ý¿â¡£Èç¹û¸´ÖÆÍØÆËÖеÄÊý¾Ý¿â»òÎļþ×éÔÚ°²×°Ê±ÊÇÖ»¶ÁµÄ£¬±ØÐëÖØÐÂÓ¦Óà Service Pack À´Éý¼¶¸ÃÊý¾Ý¿â¡£ÓйØÈçºÎʹÊý¾Ý¿âÁª»úµÄ¸ü¶àÐÅÏ¢£¬Çë²Î¼û SQL Server 2000 Áª»ú´ÔÊéÖеġ°¸½¼ÓºÍ·ÖÀëÊý¾Ý¿â¡±Ö÷Ìâ¡£ÓйØÕï¶Ï¿ÉÄÜÓÐÎÊÌâµÄÊý¾Ý¿âµÄ¸ü¶àÐÅÏ¢£¬Çë²Î¼û SQL Server 2000 Áª»ú´ÔÊéÖеġ°·þÎñÆ÷ºÍÊý¾Ý¿âÒÉÄѽâ´ð¡±Ö÷Ìâ¡£
¶ÔÖ»¶ÁÊý¾Ý¿âÓ¦Óà MSDE 2000 SP4
1.
ʹÓà ALTER DATABASE Óï¾äʹֻ¶ÁÊý¾Ý¿â¿Éд£¬ÈçÏÂËùʾ£º
ALTER DATABASE database SET READ_WRITE
2. 3. 4.
¶ÔËùÓÐÖ»¶ÁÊý¾Ý¿âÖظ´²½Öè 1¡£ Ó¦Ó㨻òÖØÐÂÓ¦Óã©SP4¡£
Èç¹ûÐèÒª£¬Ê¹Óà ALTER DATABASE ÖØÐÂʹÊý¾Ý¿âÖ»¶Á£¬ÈçÏÂËùʾ£º
ALTER DATABASE database SET READ_ONLY
¶ÔÖ»¶ÁÎļþ×éÓ¦Óà SP4
1.
ʹÓà ALTER DATABASE ʹֻ¶ÁÎļþ×é¿Éд£¬ÈçÏÂËùʾ£º
2. ALTER DATABASE Database
MODIFY FILEGROUP filegroup_name READWRITE
3. 4. 5.
¶ÔËùÓÐÖ»¶ÁÎļþ×éÖظ´²½Öè 1¡£ Ó¦Ó㨻òÖØÐÂÓ¦Óã©Service Pack¡£
ʹÓà ALTER DATABASE ÖØÐÂʹÎļþ×éÖ»¶Á£¬ÈçÏÂËùʾ£º
6. ALTER DATABASE Database
MODIFY FILEGROUP filegroup_name READONLY
ÓÐ¹Ø ALTER DATABASE µÄ¸ü¶àÐÅÏ¢£¬Çë²Î¼û SQL Server Áª»ú´ÔÊéÖеġ°ALTER DATABASE¡±²Î¿¼Ö÷Ìâ¡£ÓйØÖØÐÂÓ¦Óà SP4 µÄ¸ü¶àÐÅÏ¢£¬Çë²Î¼û 3.8 ÖØÐÂÓ¦Óà MSDE 2000 SP4¡£ [·µ»ØÒ³Ê×]
3.6 Éý¼¶Á´½Ó·þÎñÆ÷µÄĿ¼
½« MSDE 2000 ʵÀýÉý¼¶µ½ MSDE 2000 SP4 ʱ£¬¿ÉÄÜÐèÒªÑé֤ijЩϵͳ´æ´¢¹ý³ÌÔÚÆäËû SQL Server »ò MSDE ʵÀýÖÐÊÇ·ñÒѸüС£
MSDE 2000 SP4 °üÀ¨½« Microsoft Êý¾Ý·ÃÎÊ×é¼þ (MDAC) Éý¼¶µ½ MDAC 2.8 SP1¡£MDAC 2.8 SP1 °üÀ¨¶Ô SQLOLEDB Ìṩ³ÌÐòºÍ SQL Server ODBC Çý¶¯³ÌÐòµÄ¸üС£Óйظü¶àÐÅÏ¢£¬Çë²Î¼û 1.5 ÑéÖ¤ Microsoft Êý¾Ý·ÃÎÊ×é¼þµÄ°æ±¾¡£Èç¹ûÌṩ³ÌÐò»òÇý¶¯³ÌÐòÁ¬½Óµ½ SQL Server »ò MSDE ʵÀý£¬Ôò¸ÃÌṩ³ÌÐò»òÇý¶¯³ÌÐò½«Ê¹ÓÃÒ»×éϵͳ´æ´¢¹ý³Ì£¬³ÆΪĿ¼´æ´¢¹ý³Ì¡£ÊµÀýÉÏĿ¼´æ´¢¹ý³ÌµÄ°æ±¾±ØÐëµÈÓÚ»ò¸ßÓÚÌṩ³ÌÐòºÍÇý¶¯³ÌÐòËùʹÓõİ汾¡£Èç¹û³¢ÊÔÁ¬½Óµ½µÄ SQL Server »ò MSDE ʵÀý°üº¬¸üµÍ°æ±¾µÄĿ¼´æ´¢¹ý³Ì£¬½«ÊÕµ½ÒÔÏ´íÎóÏûÏ¢£º