Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : mssql

mssql ´¥·¢Æ÷

ÎÒÕýÔÚ×öÒ»¸öÅÅÐаñ±í(T_hist)
±íÄÚÓÐ qid(Íâ¼ü) ÈÕÅÅÐаñ(dhits) ÖÜÅÅÐаñ(whits)  ÔÂÅÅÐаñ(mhits)  ×ÜÅÅÐаñ(hits)  ¶¼ÊÇintÀàÐÍ
ÎÒÏÖÔÚÏë×ö¸ö´¥·¢Æ÷  ÿÈÕÁãµã°ÑËùÓÐÐеÄdhits×Ö¶ÎÇå¿Õ Ò²¾ÍÊÇ0 ÿÖÜÒ»°ÑwhitsÇå¿Õ  ÿÔÂÒ»ºÅ°ÑmhitsÇå¿Õ
(±íÄÚÊý¾Ý²»±ä ¾ÍÊÇÔÚÌض¨Ê±¼ä°ÑÈ«²¿ÐеÄÌض¨ ......

asp mssql¿ª·¢ÎÊÌâ

ÎÒ¼ÒÓõÄÊÇXP
Ô­À´ÊǸãasp access¿ª·¢
ÏÖÔÚÓÐÒ»¸öÏîÄ¿Òªmssql
xpÎÒÓÖ²»ÄÜ×°sqlÆóÒµ°æ¡£ÇëÎÊÓÐûÓÐʲôÂÌÉ«»òÕߺõÄÈí¼þ½éÉÜ£¬ÄÜ´ò¿ªmssqlµÄmdf

ÒýÓÃ
ÎÒ¼ÒÓõÄÊÇXP
Ô­À´ÊǸãasp access¿ª·¢
ÏÖÔÚÓÐÒ»¸öÏîÄ¿Òªmssql
xpÎÒÓÖ²»ÄÜ×°sqlÆóÒµ°æ¡£ÇëÎÊÓÐûÓÐʲôÂÌÉ«»òÕߺõÄÈí¼þ½éÉÜ£¬ÄÜ´ò¿ªmssqlµÄmdf
acce ......

mssqlÈçºÎcreate×Ö¶ÎÄØ£¿

create db ÊÇн¨Êý¾Ý¿â
create table ÊÇн¨±í
ÄÇн¨×Ö¶ÎÄØ£¿ лл¡£

×Ô¼ºµ½sqlserverÎĵµÖвéÕÒcreateµÄÓ﷨ʾÀý°É

SQL code:
ÏÂÀýÏÔʾ pubs Êý¾Ý¿âÖÐËù´´½¨µÄÈý¸ö±í£¨jobs¡¢employee ºÍ publishers£©µÄÍêÕû±í¶¨Ò壬ÆäÖаüº¬ËùÓеÄÔ¼Êø¶¨Òå¡£
/* ************************** jobs table **************** ......

mssql 2005Êý¾Ý¿â Ä£ºý²éѯ ¼±¡£¡£

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¿Õ¼ä ¿ÉÒÔÔ¶³ÌÁ¬½ÓÂð£¿

ÎÒÏëÎÊÏÂÐéÄâÖ÷»úÔËÓªÉ̵ÄMSSQL¿Õ¼ä¿É²»¿ÉÒÔÔ¶³ÌÁ¬½Ó£¿
¾ÍÊÇ˵ÔÚÎҵĻúÆ÷ÉÏÄܲ»ÄÜÓÃSSMSÁ¬½ÓËûµÄ·þÎñÆ÷
Èç¹ûÓÐÇë¸æËßÎÒÔËÓªÉ̵ĵØÖ·£¬Ð»Ð»£¡
ÔËÓªÉ̵ĵØÖ·½ÐÔËÓªÉ̸æËßÄ㣬¹Ø¼üµÄÊÇËû³ýÁËÔÊÐíÄãµÄ»úÆ÷Á¬½ÓÍ⣬»¹µÃ¿ª·ÅÓû§ÃûºÍÃÜÂë¸øÄã

×Ô¼ºUP~£¡£¡£¡
ÍûÁ˽âµÄÅóÓÑ͸¶һÏÂ

/*²»Í¬·þÎñÆ÷Êý¾Ý¿âÖ®¼äµÄÊý¾Ý²Ù×÷*/
......

mssqlÊý¾Ý¿â»Ö¸´ÎÊÌ⣬¼±

ÎÒÏëÔÚJspÒ³ÃæÀïÃæ»Ö¸´Êý¾Ý¿â£¬²Î¿¼ÁËһЩ×ö·¨£¬Óô洢¹ý³Ì¶Ï¿ªÊý¾Ý¿âµÄÁ´½Ó¡£

/* 
  ¹Ø±ÕÓû§´ò¿ªµÄ½ø³Ì´¦Àí 
  */
  use master
go
    create    proc    killspid    (@dbname    varchar(20))  &nbs ......
×ܼǼÊý:200; ×ÜÒ³Êý:34; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [5] [6] [7] [8] 9 [10] [11] [12] [13] [14]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ