xp(sp3)ϵͳ°²×°ÁËsqlserver2000£¬sp3£¬sp4²¹¶¡¶¼´òÁË¡£¶øÇÒ±¾»úÒ²ÄÜÁ¬½Ó·ÃÎÊ¡£
ÎÊÌâÊÇ£º
±¾»útelnet ip 1433 ×ÜÊÇÌáʾÁ¬½Óʧ°Ü£¬
¶øÇÒnetstat -naʱ£¬¿´²»µ½1433¶Ë¿Ú±»Õ¼ÓÃ
(¿Ï¶¨µÄÊÇ£º¶Ë¿ÚÊÇ1433£¬¿ªÆôÁËtcp/ip£¬ÃüÃû¹ÜµÀ·½Ê½..)
·À»ðǽҲ¹Ø±ÕÁË£¬(windows×Ô´ø·À»ðǽҲûÓпªÆô)
ÍøÉϵÄһЩ½â¾ö·½° ......
¸÷λ´óÏÀ£¬sqlserver Êý¾Ý¿âËÀËøºó£¬»á²»»á×Ô¶¯½âËøÄØ£¿¶à³¤Ê±¼äÄÜ×Ô¶¯½âËøÄØ£¿Ð»Ð»£¡
SQL code:
use master
go
create procedure sp_who_lock
as
begin
declare @spid int,@bl int,
@intTransactionCountOnEntry int,
@intRowcount int,
@intCountProperties int,
@intCounter int
create table #tmp_lock_wh ......
´ó¼ÒÓÐûÓÐ ´æ´¢¹ý³Ì·ÖÒ³µÄÀý×Ó£¬¹²Ïíһϣ¬Ð»Ð»£¡£¡£¡
http://wyf.javaeye.com/blog/462396
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
/*--ʵÏÖ·ÖÒ³µÄͨÓô洢¹ý³Ì
ÏÔʾָ¶¨±í¡¢ÊÓͼ¡¢²éѯ½á¹ûµÄµÚXÒ³
¶ÔÓÚ±íÖÐÖ÷¼ü»ò±êʶÁеÄÇé¿ö,Ö±½Ó´ÓÔ±íÈ¡Êý ......
±ísinger£º
singerID£¬singerName
1£¬ÁõµÂ»ª
2£¬ÕÅѧÓÑ
3£¬¹ù¸»³Ç
4£¬ÀèÃ÷
±ísong£º
songID£¬songName£¬singerID
1£¬ÍüÇéË®£¬1
2£¬ÖйúÈË£¬1
3£¬ÎDZð£¬2
4£¬¶ÔÄã°®²»Í꣬3
5£¬½ñÒ¹Äã»á²»»áÀ´£¬4
ÎÒÏë²éÕÒÁõµÂ»ªµÄ¸èÇú£¬ÓÐÁ½ÖÖsqlÓï¾ä£º
1.Á½±íÁ¬½Ó
C# code:
sele ......
×î½üÊý¾Ý¿â±»¸Ä£¬Ï뽫֮»Ö¸´µ½ÉÏÖÜÇ°µÄÊý¾Ý£¬¿ÉÒÔŪÂð£¿
×Ô¼ºÃ»ÓÐÈ¥±¸·Ý¡£
try:
Log Explorer
http://download.csdn.net/source/620271
ѹËõ°üÀïÓÐÒ»¸ö×¢²á»ú£¬ÓÃÀ´²úÉú×¢²áÂë¡£
´ò¿ªlog explorer file=>attach log file->Ñ¡Ôñ·þÎñÆ÷ºÍµÇ½·½Ê½->connect->
Ñ¡ÔñÊý¾Ý¿â-> ......
ÎÒµÄÊý¾Ý¿âÖÐÓÐÒ»¸öÎı¾ºÜ¶àµÄ×Ö¶Înews£¬ÆäÖб»Ä¾ÂíÖ²ÈëºÜ¶à <script src=XXXXX> </script> µÄ×Ö·û¡£¿ªÊ¼ÎÒÒ»Ö±ÓÃupdateÓï¾äÌæ»»£¬µ«ÊǺÜÂé·³£¬Ìæ»»ÁËû¼¸Ìì¾ÍÓÖ±»×¢ÈëÁË¡£
XXX²¿·Öÿ´Î¶¼²»Ò»Ñù£¬ÎÒÏÈÒªÕÒµ½ËùÓеÄXXXX²¿·Ö£¬È»ºóÌæ»»¡£XXXX²¿·ÖËäȻÿ´Î¶¼²»Ò»Ñù£¬µ«ÊÇÒ²ÓйæÂÉ£¬¾ÍÊǺ¬ÓÐÈô¸É¸öÏàÁÚµÄ ......