sql server 2000 ³£¼û´íÎó£¬ÏµÍ³126´íÎó£¡
תÔØ£º
http://blog.sina.com.cn/s/blog_5f4ed9cb0100dza0.html
http://wowh.wuyan.org/2008/04/15/sqlserver-2k-system-error-126/
ÔÚ°²×°sql server ¾³£Óöµ½ÕâÑù¡¢ÄÇÑùµÄ´íÎ󣬽ñÌìÔÚËѵ½±È½ÏÈ«ÃæµÄ£¬¾ÍÌù³öÀ´£¬·ÖÏíÏ£¡
SQL
Server°²×°ÎÊÌâ´óÈ«
(2007-09-06
09:24:28)
±êÇ©£ºIT/¿Æ¼¼
Ò¼¡£WINDOWS XPϵͳÉÏ°²×°SQL
server·þÎñÆ÷°æ
Ò»£®ÔÚSQL·þÎñÆ÷µÄ°²×°ÅÌÖÐÕÒµ½MSDEÕâ¸öĿ¼£¬²¢ÇÒµã»÷setup.exe°²×°Ëü£¬¹ý³Ì¼òµ¥Ö±½ÓÏÂÒ»²½¾Í£Ï£ËÁË¡£
¶þ. ÖØÆôϵͳWINDOWSXP,ÕâϾͿÉÒÔ¿´µ½SQL·þÎñµÄͼ±ê³öÏÖÁË¡£
Èý. ÔÙÄóöSQL·þÎñÆ÷°æµÄ°²×°¹âÅÌ£¬Ö±½Ó°²×°¿Í»§¶Ë¹¤¾ß
ËÄ¡¢´ò¿ª“ÆóÒµ¹ÜÀíÆ÷”µ½“SQL Server¡¡×é”Ï£¬½«“[lcoal] (Windows
NT)”¸Ä³É×Ô¼ºµÄµÄ»úÆ÷Ãû£¬»úÆ÷ÃûÔÚϵͳÊôÐԵē¼ÆËã»úÃû”Àï¿ÉÒÔÕÒµ½
Îå. ´ò¿ªÆóÒµ¹ÜÀíÆ÷£¬ÊÔÓÃSAÓû§Á¬Ò»Ï¿´¿´£¬ÊDz»ÊÇ·¢ÏÖSAÓû§µÇ½ʧ°Ü£¿ÒòΪÄ㻹ûÓÐÓëÐÅÈÎSQL
SERVERÁ¬½ÓÏà¹ØÁª¡£»¹ºÃÕâ¸öÖ»Òª¶Ôϵͳע²á±íÉÔ¼ÓÐ޸ľͿÉÒÔÀ²£º
ÔÚÔËÐÐÖÐÊäÈëregedit´ò¿ª×¢²á±í±à¼Æ÷£¬ÕÒµ½[HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT
\MSSQLSERVER\MSSQLSERVER]£¬Õâ¸öÏîÀïÃæÓÐÒ»¸ö¼üÖµLoginMode£¬Ä¬ÈÏÏ£¬ÖµÊÇ1£¬ÏÖÔÚ½«Öµ¸ÄΪ2£¬ÖØÆôµçÄÔ¡£
·½·¨2
¡¡¡¡´ò¿ª×¢²á±í(regedit),ÕÒµ½HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ
,ÐÞ¸ÄÄǸö"ab(ĬÈÏ)"µÄֵΪ2```ÖØÆô.È»ºó¾Í¿ÉÒÔ°²×°Microsoft SQL ServerÁË.
·¡¡£°²×°´íÎó
1¡£½«Program filesϵÄSQL°²×°Ä¿Â¼É¾³ý£¨´Ë´¦Èç¹ûÓÐÖØÒªµÄÊý¾Ý£¬ÇëÏȱ¸·Ý£©
C:\Program Files\Microsoft SQL Server\80\Tools¡£
C:\Program Files\Microsoft SQL Server\MSSQL¡£
2¡£×¢²á±íÖеÄÏà¹ØÐÅϢɾ³ý£º
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSDTC¡£
3¡£HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
ManagerÖÐÕÒµ½PendingFileRenameOperationsÏîÄ¿£¬²¢É¾³ýËü¡£ÕâÑù¾Í¿ÉÒÔÇå³ý°²×°ÔݹÒÏîÄ¿
4¡£HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\setup
ɾ³ýExceptionComponents
¡¡¡¡Õâ¸öÏîĿϵÄÄÚÈÝ¿ÉÄֻܺܶ࣬ÓÐÔÚÉÏÃ漸¸ö°ì·¨²»ÐеÄÇé¿öÏ£¬Ê¹Óô˷½·¨
5¡£Windows Ŀ¼ÖÐµÄ Sqlst
Ïà¹ØÎĵµ£º
1 MySQLÖ§³Öenum,ºÍsetÀàÐÍ£¬SQL Server²»Ö§³Ö
¡¡¡¡2 MySQL²»Ö§³Önchar,nvarchar,ntextÀàÐÍ
¡¡¡¡3 MySQLµÄµÝÔöÓï¾äÊÇAUTO_INCREMENT£¬¶øMS SQLÊÇidentity(1,1)
¡¡¡¡4 MS SQLĬÈϵ½´¦±í´´½¨Óï¾äµÄĬÈÏÖµ±íʾÊÇ((0)),¶øÔÚMySQLÀïÃæÊDz»ÔÊÐí´øÁ½À¨ºÅµÄ
¡¡¡¡5 MySQLÐèҪΪ±íÖ¸¶¨´æ´¢ÀàÐÍ
¡¡¡¡6 MS SQLʶ±ð·ûÊÇ[],[type]±íÊ ......
£¨1£©
Mcirosoft JET SQL ÖУ¬ÈÕÆÚÓÑ#’¶¨½ç¡£ÈÕÆÚÒ²¿ÉÒÔÓÃDatevalue()º¯ÊýÀ´´úÌæ¡£ÔڱȽÏ×Ö·ûÐ͵ÄÊý¾Ýʱ£¬Òª¼ÓÉϵ¥ÒýºÅ’’£¬Î²¿Õ¸ñÔڱȽÏÖб»ºöÂÔ¡£
Àý£º
WHERE OrderDate>#96-1-1#
Ò²¿ÉÒÔ±íʾΪ£º
WHERE OrderDate>Datevalue(‘1/1/96’)
ʹÓà NOT ±í´ïʽÇó·´¡£
Àý£ ......
ͨ¹ýµÚÆßÆں͵ڰËÆÚµÄÎÄÕ£¬ÎÒÃÇÁ˽âÁËSQL SERVER 2005Êý¾Ý¿âµÄÔÀí¡¢ÊµÏÖ·½Ê½ÒÔ¼°SQL SERVER 2005Ôڸ߿ÉÓᢸßÐÔÄܺ͸߱£»¤Ä£Ê½Ï»áÓв»Í¬µÄÊý¾Ý¿â¾µÏñ״̬£¬¶øÇÒÁ˽âÁËSQL SERVER 2005ÔÚ²»Í¬Ó¦ÓÃģʽϹÊÕÏתÒƵķ½Ê½¡£½ÓÏÂÀ´£¬ÎÒÃǽ«¸ù¾ÝÒÔÏÂÁ½Ààʼþ¶ÔÊý¾Ý¿â¾µÏñÔ¤ÆڵĿÉÓÃÐÔ½øÐзÖÎö£º
Ò»¸ö»ò¶à¸ö·þÎñÆ÷»òÕßÊý¾Ý¿âʧ° ......
CSDNÉÏÓÐƪÌû×Óhttp://topic.csdn.net/u/20100223/15/644e6212-9fdc-42de-81ad-785d28ed71d3.html
ÌÖÂÛ²éѯ¼Æ»®¶ÁÈ¡Ë÷ÒýÒ³µÄÎÊÌâ¡£
Ö÷ÒªÎÊÌâÊÇ£º ÔÚÒ»ÕŽ¨Óоۼ¯Ë÷Òý£¨Ã»ÓÐÆäËü·Ç¾Û¼¯Ë÷Òý£©µÄ±íÖ´ÐÐselect count(*) ¡£²éѯÏÔʾɨÃèÁËËùÓеÄË÷ÒýÖмä²ãÒ¶¡£´ÓÀíÂÛÉϽ²£¬ÓÉÓÚÿ¸öÊý¾ÝÒ³¶¼¼Ç¼×ÅËüµÄÉÏÒ»¸öpageºÍÏÂÒ»¸öpage, ......
USE Test
--Create 2 tables as an example
CREATE TABLE ExampleTable
(
[ID] int PRIMARY KEY
,[Name] nvarchar(256)
)
CREATE TABLE ExampleTable2
(
[ID] int PRIMARY KEY
,[Name] nvarchar(256)
)
----way1
SELECT *
from sys.objects [table]
WHERE
[Name] LIKE 'ExampleTable%'
FOR XML AUTO, ROOT ......