sql server2005¿ÉÒÔÓësql server 2000¹²´æÂð£¿
×îÏÈϵͳװÓÐsql2000£¬ÀïÃæÒ²ÔËÐÐÁ˺öàÍøÕ¾Êý¾Ý¿âÓ¦ÓóÌÐò£¬ÏÖÔÚÓиöÍøÕ¾ÐèÒªÅÜÔÚsql server2005ƽ̨ÉÏ£¬ÇëÎÊÎÒ¿ÉÒÔÖ±½ÓÔÚÕâ¸ö°²×°ÓÐsql server2000µÄ·þÎñÆ÷ÉÏÖ±½Ó°²×°sql server2005Â𣿻᲻»áÁ½¸ö°æ±¾µÄ·¢Éú¼æÈÝÐԵijåÍ»£¿µ¼ÖÂÁ½¸öÊý¾Ý¿âÒ»¸ö¶¼Óò»ÁË£¬»òÕßÖ»ÄÜÓÃÆäÖеÄÒ»¸ö£¿
Çë¸ßÊÖ¸æÖª£¬Ð»Ð»¡£
¿ÉÒÔ,µ«Òª¿¼ÂǶ˿ڳåÍ»ÎÊÌâ,ÌرðÊÇÒì»úÁ¬½Óʱ.
¿ÉÒÔÖ±½Ó°²×° ×¢ÒâϾͺÃÁË ¼ÇµÃÖØÐÂÖ¸¶¨ÊµÀý
µ±È»¿ÉÒÔ,²»Í¬ÊµÀýÃû
ʵÀýÃû£¬ÊÇʲô¶«Î÷£¬ÊDz»ÊÇsql serverÀïÃæĬÈϵÄʵÀýѽ¡£ÎÒÈç¹û²»ÐèÒªÓõ½Õâ¸öϵͳÌṩµÄʵÀý£¬ÊDz»ÊǾÍûÓÐÒ»µãÎÊÌâÄØ£¿
KE YI
SQL Server 2005ºÍ2000µÄ¹²´æ£¨Ò»Ì¨»úÆ÷ͬʱ°²×°Á½¸ö£©¡£×¢ÒâÏÂÃæËIJ½£¬¼´¿É³É¹¦£º
1¡¢°²×°µÚ¶þ¸öSQLServerµÄʱºò×¢ÒâÓÃʵÀýÃû¡£
±ÈÈçÎÒÊǺó×°µÄ2000£¬ÊµÀýÃûΪ£ºSQL2000
2¡¢°²×°ºó£¬ÔÚConfigration Manager£¨2005£©µÄ¡°SQL Server 2005ÍøÂçÅäÖá±ÖУ¬½«TCP/IPÊôÐÔÖС°IPµØÖ·¡±Ñ¡ÏÖС°TCPAll¡±µÄTCP¶Ë¿Ú¸ÄΪ1444¡£
3¡¢°²×°ºóÓÃConfigration ManagerµÄ¡°SQL Native ClientÅäÖá±£¨2005£©»ò¿Í»§¶ËʵÓù¤¾ß£¨2000£©Ð½¨Ò»¸ö±ðÃû¡£
ÈÔÈ»ÒÔ¸Ä2005ΪÀý£º±ðÃûΪDBServer£¬Ö¸ÏòServer_IP\SQL2005£¬ÇҶ˿ںÅΪ1444¡£
4¡¢ÔÚManagement StudioÖÐÖ±½ÓÁ¬½Ó±ðÃû£¨DBServer£©¼´¿É¡£
ÁíÍ⣬·À»ðǽÖÐÈçºÎ¼Ó1444 TCP¶Ë¿ÚÎҾͲ»¶à˵ÁË¡£
Ïà¹ØÎÊ´ð£º
±¾ÈËc#ÐÂÊÖ ¿ÉÊÇÒªÇóÒªÓÃc# £¬sql2000¿ª·¢c/sµÄ¹¤×÷Á÷£¬Ò»Í·ÎíË®£¬Çë´ó¼Ò°ïæ°ï棬¸øµã˼·£¬ËµµÄÔ¼¾ßÌåÔ½ºÃ£¬ÎÒÒ²ºÃÍùÄǸö·½Ãæȥѧϰ
http://www.hxzi.com/view/61402.html
B/S°æµÄ£¬»ù±¾Ë¼ÏëÓ¦¸Ã²î²»¶àµÄ¡£¡£ ......
ID ²Í±ð ʱ¼ä
1 ÖÐ²Í 2009-10-25
2 ÖÐ²Í 2009-10-26
3 Íí²Í 2009-10-26
4 Ôç²Í 2009-10-27
½á¹û
1 ÖÐ²Í 2009-10-25
3 Íí²Í ......
SELECT ×Ö¶Î1
from ±í WHERE (...) AND ×Ö¶Î1=function()
×Ö¶Î1ÓпÉÄܵÄÖµ Ϊ 0 »òÕß -1
function ·µ»Ø 0 »òÕß -1
ÕâÑùµÄËÙ¶ÈÌ«ÂýÁË Çë¸ßÊÖ°ïæ
¶¨£¡
ÎÒд³ ......
SELECT Count(*) from In_fo WHERE Reader_Time between #" + time1 + "# AND #" + time2 + "# and id=" + userid + ";
ÉÏÃæÊÇÎÒдµÄsqlÓï¾ä Reader_TimeÊÇʱ¼äÀàÐÍ idΪÊý×Ö ......