SQL Server 2005°²×°Ê§°ÜµÄ´¦Àí·½·¨
ÔÚ°²×°SQL Server 2005¿ª·¢°æʱ³öÏÖÎÊÌâ¡£°²×°»·¾³Îªwindows xp sp3£¬°²×°Óû§Ê¹Ó󬼶¹ÜÀíÔ±£¨Administrator£©¡£³öÏֵĴíÎóÊÇ
ÔÚ°²×°“Integration Services”²½Öèʱ³öÏÖ°²×°´íÎó£¬Ìáʾ“´íÎó: -2146233087”¡£
´íÎó¼Ç¼
±êÌâ:
Microsoft SQL Server 2005 °²×°³ÌÐò
ÎÞ·¨ÔÚ COM+ Ŀ¼Öа²×°ºÍÅäÖóÌÐò¼¯
C:“Program Files“Microsoft SQL
Server“90“DTS“Tasks“Microsoft.SqlServer.MSMQTask.dll¡£´íÎó: -2146233087
´í
ÎóÏûÏ¢: Unknown error 0x80131501
´íÎó˵Ã÷: ÒªÖ´ÐдËÈÎÎñ£¬Äú±ØÐë¾ßÓйÜÀíƾ¾Ý¡£ÇëÓëÄúµÄϵͳ¹ÜÀíÔ±ÁªÏµÒÔ»ñµÃ°ïÖú¡£
½â¾ö°ì·¨£º
Ò»£®MSDTCÔËÐÐÕÊ»§ÎÊÌâ
È·ÈÏMSDTC ·þÎñÕýÔÚÔËÐУ¬²¢ÇÒÆäÆô¶¯ÕÊ»§ÊÇNT AUTHORITY“Network
Service”¡£°´ÕÕÒÔϲ½ÖèÀ´¼ì²é£º
1. “¿ªÊ¼”-“ÔËÐД-services.msc
2.
ÔÚ·þÎñÁбíÖÐÕÒµ½Distributed Transaction Coordinator£¬Ë«»÷ÒÔÆäÊôÐÔ
3.
ÔÚÊôÐÔ´°¿ÚÇл»ÖÁµÇ¼ѡÏ£¬È·ÈÏÆäÆô¶¯ÕʺÅΪ”NT AUTHORITY“Network Service”
4.
Æô¶¯DTC·þÎñÔÙ³¢ÊÔ°²×°SQL Server 2005
½á¹û£ºÕâ¸ö²½ÖèÎÒÒѾ³¢ÊÔ¹ý£¬²»ÊÇÕâ¸öÎÊÌâ¡£
¶þ£®·ÖÎöSQL
Server 2005°²×°ÈÕÖ¾
½«C:“Program Files“Microsoft SQL Server“90“Setup
Bootstrap“LOG“Ŀ¼ÏÂËùÓеÄÎļþ·¢Ë͸ø΢Èí¼¼ÊõÖ§³Ö¹¤³Ìʦ½øÐзÖÎö¡£
½á¹û£ºÕâ¸ö²½ÖèÎÒûÓÐ×ö¹ý£¬²»¹ý΢Èí¹¤³ÌʦºÃÏñҲûÓз¢
ÏÖÏßË÷¡£
Èý£®COPY°²×°³ÌÐòµ½Ó²ÅÌ°²×°³¢ÊÔ
½¨Á¢ D:“SQLServer2005 Îļþ¼Ð£¬
´´½¨ÒÔÏÂÁ½¸ö×ÓÎļþ¼Ð£ºServersºÍTools¡£ServiersÎļþ¼Ð¿½±´SQL Server2005µÄµÚÒ»ÕÅ°²×°ÅÌ£¬°üº¬ËùÓÐÒª°²×°Ö÷ SQL
Server 2005 ×é¼þ¡£ ToolsÎļþ¼Ð¿½±´SQL Server 2005µÄµÚ¶þÕÅÅÌ£¬°üº¬Îª SQL Server 2005
Áª»ú´ÔÊéºÍ¹¤¾ß×é¼þ¡£ÔËÐÐD:“SQLServer2005“Servers Îļþ¼ÐϵÄSetup.exe£¬Æô¶¯ SQL Server 2005
°²×°³ÌÐò¡£
½á¹û£ºÒÔÉÏ·½Ê½°²×°¹ý³ÌÖл¹ÊÇÅöµ½Í¬ÑùµÄÎÊÌâ¡£
ËÄ£®ÖØа²×° COM+Ó¦ÓóÌÐò
1.´Ó¿ØÖÆÃæ°åµÄ
“Ìí¼Ó»òɾ³ý³ÌÐò”ÖУ¬µ¥»÷“Ìí¼Ó/ɾ³ý Windows ×é¼þ”¡£
2£®ÔÚ“Windows
×é¼þÏòµ¼”ÖУ¬²»¶ÔÑ¡Ôñ×öÈκθü¸Ä£¬µ¥»÷“ÏÂÒ»²½”¡£Ò»Ö±µ¥»÷ÒÔÍê³ÉÏòµ¼£¬È»ºóÔÙ´ÎÔËÐÐ SQL Server 2005 °²×°³ÌÐò¡£
½á
¹û£ºÎÊÌâûÓнâ¾ö¡£
ͨ¹
Ïà¹ØÎĵµ£º
´ó¼Ò´ò¿ªÕâ¸öÁ´½Ó¿ÉÒÔ¿´µ½ºÜ¶àÊý¾Ý¿âµÄÁ¬½Ó·½·¨¡£http://www.connectionstrings.com
ÕâЩÊý¾Ý¿âÖ®¼äµÄÊý¾Ý½»»»¾ÍÊÇÕâ¸öÌù×ÓËùÒª×ܽáµÄÄÚÈÝ¡£
£¨Ò»£©SQL ServerÖ®¼ä
°ÑÔ¶³ÌÊý¾Ý¿âÖеÄÊý¾Ýµ¼Èëµ½±¾µØÊý¾Ý¿â¡£
http://community.csdn.net/Expert/topic/5079/5079649.xml?temp=.7512018
http://community.csdn.net/Expert/ ......
ÔÚ2005ÖÐÓÐͬÒå´ÊÓ븴ÖƵĸÅÄî
ͬÒå´ÊµÄÖ÷Òª×÷ÓÃÊÇ£º
Ò»£ºË޶̶ÔÏóµÄÃû³Æ£¬¼õÉÙ¹¤×÷ÈËÔ±ÊéдµÄʱ¼ä£¬Ìá¸ßЧÂÊ¡£ÎÒÃÇÖªµÀ·ÃÎÊÊý¾Ý¿âÒ»¸ö¶ÔÏóµÄͨ³£×îÈ«µÄ¶ÔÏóÃû³ÆÊÇ£º·þÎñÆ÷Ãû³Æ¡£Êý¾Ý¿âÃû³Æ¡£¼Ü¹¹Ãû³Æ¡£¶ÔÏóÃû³Æ
¶þ£ºÍ¬²½Êý¾Ý¡£ ......
PL/SQLʵÀý·ÖÎö
µÚÎåÕÂ
1¡¢PL/SQLʵÀý·ÖÎö
1£©ÔÚ¡¾SQLPlus Worksheet¡¿ÖÐÖ±½ÓÖ´ÐÐÈçÏÂSQL´úÂëÍê³ÉÉÏÊö²Ù×÷¡£(´´½¨±í)
¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D
CREATE TABLE "SCOTT"."TESTTABLE" ("RECORDNUMBER" NUMBER(4) NOT NULL, "CURRENTDATE" DATE NOT NULL)
TABLESPACE "SYSTEM ......
ÄãÊÇ·ñÔÚǧ·½°Ù¼ÆÓÅ»¯SQL Server Êý¾Ý¿âµÄÐÔÄÜ?Èç¹ûÄãµÄÊý¾Ý¿âÖк¬ÓдóÁ¿µÄ±í¸ñ£¬°ÑÕâЩ±í¸ñ·ÖÇø·ÅÈë¶ÀÁ¢µÄÎļþ×é¿ÉÄÜ»áÈÃÄãÊÜÒæ·Ëdz¡£SQL Server 2005ÒýÈëµÄ±í·ÖÇø¼¼Êõ£¬ÈÃÓû§Äܹ»°ÑÊý¾Ý·ÖÉ¢´æ·Åµ½²»Í¬µÄÎïÀí´ÅÅÌÖУ¬Ìá¸ßÕâЩ´ÅÅ̵IJ¢Ðд¦ÀíÐÔÄÜÒÔÓÅ»¯²éѯÐÔÄÜ¡£
¡¡¡¡SQL ServerÊý¾Ý¿â±í·ÖÇø²Ù×÷¹ý³ÌÓÉÈý¸ö²½Öè×é³É£º
¡ ......
1¡¢ËµÃ÷£º¸´ÖƱí(Ö»¸´Öƽṹ,Ô´±íÃû£ºa бíÃû£ºb) (Access¿ÉÓÃ)
·¨Ò»£ºselect * into b from a where 1 <>1
·¨¶þ£ºselect top 0 * into b from a
2¡¢ËµÃ÷£º¿½±´±í(¿½±´Êý¾Ý,Ô´±íÃû£ºa Ä¿±ê±íÃû£ºb) (Access¿ÉÓÃ)
insert into b(a, b, c) select d,e,f from b;
3¡¢ËµÃ÷£º¿çÊý¾Ý¿âÖ®¼ä±íµÄ¿½±´(¾ßÌåÊý¾ÝʹÓà ......