Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

SQL SERVER 2000 °²×°Ìáʾ"Ò»°ãÐÔÍøÂç´íÎó"

 ½ñÌì°²×°SQL SERVER 2000 ¸öÈ˰棬°²×°×îºóµ¯³ö´íÎó¶Ô»°¿ò£º
“°²×°³ÌÐòÅäÖ÷þÎñÆ÷ʧ°Ü¡£²Î¿¼·þÎñÆ÷´íÎóÈÕÖ¾ºÍC:\windows\sqlstp.log”£¬´Ó¶øÎÞ·¨°²×°¡£
µ½¾ßÌåµÄĿ¼²é¿´ÏÔʾ"Ò»°ãÐÔÍøÂç´íÎó"£¬ÔÚÍøÉÏËÑË÷ÎÊÌâÔ­Òò¼°½â¾ö·½°¸ÈçÏ£º
´ËÎÊÌâÊôÓÚsql serverµÄbug, GetComputerName ÓÃÓÚ»ñÈ¡±¾µØ¼ÆËã»úÃû¡£¿Í»§¶ËÍøÂç¿â×é¼þ (DBMSLPCn.dll) ½«¸ÃÃû³Æת»»ÎªÈ«²¿´óд¡£·þÎñÆ÷ÍøÂç¿â×é¼þ (SSMSLPCn.dll) ±£Áô·µ»ØʱµÄÃû³Æ¡£µ± Windows ¼ÆËã»úÃû³Æ°üº¬´óд×ÖĸºÍСд×Öĸ»òÕ߶¼ÊÇСд×Öĸʱ°²×°»áʧ°Ü£¬Ìáʾһ°ãÐÔÍøÂç´íÎó!
¾ßÌå½â¾ö£º½â¾ö·½·¨ÊǰѼÆËã»úÃûÈ«¸Ä³É´óд¾ÍÐÐÁË¡£
¾­¹ýÑéÖ¤£¬Õâ¸ö·½·¨¾ø¶ÔÕýÈ·¡£¶ø¸ù¾ÝÎÒÕâ´Î½â¾öÎÊÌâµÄ¾­Ñ飬ÔÙ¼ÓÒ»¸öϸ½Ú¡£
ÔÚ“ÎҵĵçÄÔ”ÉÏ·½£¬ÓÒ¼ü“ÊôÐÔ”->“¼ÆËã»úÃû”->“¼ÆËã»úÃèÊö”ÀïÃæ¿ÉÒÔÖ±½ÓÐ޸ġ£
ÎÒµÚÒ»´Î¾ÍÊÇÕâÑù¸ÄµÄ£¬µ«·¢ÏÖÔÚ“sqlstp.log”ÀïÃæÏÔʾµÄ¼ÆËã»úÃûÈÔÈ»²»ÊÇ´óд£¬Ôõô°ìÄØ£¬ÎÒ¾ÍÔÚ×¢²á±íÀïÃ潫ËùÓÐÓû§Ãû»òÓû§ÓòÃûÏà¹ØµÄСдµÄ¶¼ÕÒ³öÀ´£¬¸Ä³É´óд£¬ÖØÆôºó£¬°²×°¾Í¿ÉÒÔÁË¡£


Ïà¹ØÎĵµ£º

ÕûÀíÁËÒ»·ÝÏîÄ¿×éÇ°ÈËд¹ýµÄ¹ØÓÚsql±à³Ì¹æ·¶µÄÎĵµ

Ò»¡¢sqlÊéд¹æ·¶£º
  1¡¢sqlÓï¾äµÄËùÓбíÃû¡¢×Ö¶ÎÃûÈ«²¿Ð¡Ð´£¬ÏµÍ³±£Áô×Ö¡¢ÄÚÖú¯ÊýÃû¡¢sql±£Áô×Ö´óд¡£
   
  2¡¢Á¬½Ó·ûor¡¢in¡¢and¡¢ÒÔ¼°£½¡¢<=¡¢>=µÈÇ°ºó¼ÓÉÏÒ»¸ö¿Õ¸ñ¡£
   
  3¡¢¶Ô½ÏΪ¸´ÔÓµÄsqlÓï¾ä¼ÓÉÏ×¢ÊÍ£¬ËµÃ÷Ëã·¨¡¢¹¦ÄÜ¡£
   
&nb ......

SQL SERVERÖеÄÊý¾Ý¿â»Ö¸´¼¼Êõ


SQL ServerÊý¾Ý¿â±¸·ÝÓÐÁ½ÖÖ·½Ê½£¬Ò»ÖÖÊÇʹÓÃBACKUP DATABASE½«Êý¾Ý¿âÎļþ±¸·Ý³öÈ¥£¬ÁíÍâÒ»ÖÖ¾ÍÊÇÖ±½Ó¿½±´Êý¾Ý¿âÎļþmdfºÍÈÕÖ¾ÎļþldfµÄ·½Ê½¡£ÏÂÃ潫Ö÷ÒªÌÖÂÛһϺóÕߵı¸·ÝÓë»Ö¸´¡£±¾Îļٶ¨ÄúÄÜÊìÁ·Ê¹ÓÃSQL Server Enterprise Manager(SQL ServerÆóÒµ¹ÜÀíÆ÷)ºÍSQL Server Quwey Analyser(SQL Server²éѯ·ÖÎöÆ÷)
¡¡¡¡
¡ ......

Sql ServerÖеÄÈÕÆÚÓëʱ¼äº¯Êý

1.     µ±Ç°ÏµÍ³ÈÕÆÚ¡¢Ê±¼ä
       select getdate()  
2. dateadd     ÔÚÏòÖ¸¶¨ÈÕÆÚ¼ÓÉÏÒ»¶Îʱ¼äµÄ»ù´¡ÉÏ£¬·µ»ØÐ嵀 datetime Öµ
      ÀýÈ磺ÏòÈÕÆÚ¼ÓÉÏ2Ìì
      select dat ......

SQLÓï¾ä¸´ÖƱíµÄ·½·¨


SQLÓï¾ä¸´ÖƱíµÄ·½·¨
(2009-08-29 13:41:54)
±êÇ©£º
sql
·ÖÀࣺ¼ÆËã»ú֪ʶ
Èç¹ûÄ¿µÄ±íÒѾ­´æÔÚ:
insert into DATAHR.DBO.GBITEM
select * from DEMO.DBO.GBITEM
Èç¹ûÄ¿µÄ±í²»´æÔÚ:
select * into DATAHR.DBO.GBITEM
from DEMO.DBO.GBITEM
¿ç¿âµ¼Èë
select * into [zk_news].[dbo].[News1] from [zk_media].[ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ