ÎÒÕýÔÚ×öÒ»¸öÅÅÐаñ±í(T_hist)
±íÄÚÓÐ qid(Íâ¼ü) ÈÕÅÅÐаñ(dhits) ÖÜÅÅÐаñ(whits) ÔÂÅÅÐаñ(mhits) ×ÜÅÅÐаñ(hits) ¶¼ÊÇintÀàÐÍ
ÎÒÏÖÔÚÏë×ö¸ö´¥·¢Æ÷ ÿÈÕÁãµã°ÑËùÓÐÐеÄdhits×Ö¶ÎÇå¿Õ Ò²¾ÍÊÇ0 ÿÖÜÒ»°ÑwhitsÇå¿Õ ÿÔÂÒ»ºÅ°ÑmhitsÇå¿Õ
(±íÄÚÊý¾Ý²»±ä ¾ÍÊÇÔÚÌض¨Ê±¼ä°ÑÈ«²¿ÐеÄÌض¨ ......
ÎÒ¼ÒÓõÄÊÇXP
ÔÀ´ÊǸãasp access¿ª·¢
ÏÖÔÚÓÐÒ»¸öÏîÄ¿Òªmssql
xpÎÒÓÖ²»ÄÜ×°sqlÆóÒµ°æ¡£ÇëÎÊÓÐûÓÐʲôÂÌÉ«»òÕߺõÄÈí¼þ½éÉÜ£¬ÄÜ´ò¿ªmssqlµÄmdf
ÒýÓÃ
ÎÒ¼ÒÓõÄÊÇXP
ÔÀ´ÊǸãasp access¿ª·¢
ÏÖÔÚÓÐÒ»¸öÏîÄ¿Òªmssql
xpÎÒÓÖ²»ÄÜ×°sqlÆóÒµ°æ¡£ÇëÎÊÓÐûÓÐʲôÂÌÉ«»òÕߺõÄÈí¼þ½éÉÜ£¬ÄÜ´ò¿ªmssqlµÄmdf
acce ......
create db ÊÇн¨Êý¾Ý¿â
create table ÊÇн¨±í
ÄÇн¨×Ö¶ÎÄØ£¿ лл¡£
×Ô¼ºµ½sqlserverÎĵµÖвéÕÒcreateµÄÓ﷨ʾÀý°É
SQL code:
ÏÂÀýÏÔʾ pubs Êý¾Ý¿âÖÐËù´´½¨µÄÈý¸ö±í£¨jobs¡¢employee ºÍ publishers£©µÄÍêÕû±í¶¨Ò壬ÆäÖаüº¬ËùÓеÄÔ¼Êø¶¨Òå¡£
/* ************************** jobs table **************** ......
mssql 2005 ÊÇÓ¢ÓïÕý°æµÄ¡£
²»ÖªµÀΪʲôÀýÈç
select content_cn,content_ru from table where content_cn like '%ÖÐÎÄ%'
select content_cn,content_ru from table where content_ru like '%¶íÓï%'
select content_cn,content_ru from table where content_cn like '%Ó ......
ÎÒÏëÎÊÏÂÐéÄâÖ÷»úÔËÓªÉ̵ÄMSSQL¿Õ¼ä¿É²»¿ÉÒÔÔ¶³ÌÁ¬½Ó£¿
¾ÍÊÇ˵ÔÚÎҵĻúÆ÷ÉÏÄܲ»ÄÜÓÃSSMSÁ¬½ÓËûµÄ·þÎñÆ÷
Èç¹ûÓÐÇë¸æËßÎÒÔËÓªÉ̵ĵØÖ·£¬Ð»Ð»£¡
ÔËÓªÉ̵ĵØÖ·½ÐÔËÓªÉ̸æËßÄ㣬¹Ø¼üµÄÊÇËû³ýÁËÔÊÐíÄãµÄ»úÆ÷Á¬½ÓÍ⣬»¹µÃ¿ª·ÅÓû§ÃûºÍÃÜÂë¸øÄã
×Ô¼ºUP~£¡£¡£¡
ÍûÁ˽âµÄÅóÓÑ͸¶һÏÂ
/*²»Í¬·þÎñÆ÷Êý¾Ý¿âÖ®¼äµÄÊý¾Ý²Ù×÷*/
......
ÎÒÏëÔÚJspÒ³ÃæÀïÃæ»Ö¸´Êý¾Ý¿â£¬²Î¿¼ÁËһЩ×ö·¨£¬Óô洢¹ý³Ì¶Ï¿ªÊý¾Ý¿âµÄÁ´½Ó¡£
/*
¹Ø±ÕÓû§´ò¿ªµÄ½ø³Ì´¦Àí
*/
use master
go
create proc killspid (@dbname varchar(20)) &nbs ......