¹ØÓÚMSSQLĬÈÏÖµµÄÎÊÌâ
ÎÒÔÚMSSQL¹ÜÀíÆ÷Àï°Ñн¨×Ö¶Îstr
ÔÚĬÈÏÖµ»ò°ó¶¨ÄÇÀïÎÒÌîдÁË0
È»ºóÎÒ·¢ÏÖ¡£Èç¹ûÎÒÔÚÔö¼Ó¼Ç¼ʱ¡£Õâ¸öSTR²¢²»ÊÇĬÈϵÄ0¶øÊÇNULLÔõô»ØÊ£¿£¨ÔÚÔö¼Ó×Ö¶Îʱ¡£ÎÒûÓмÈërs("str")µÄÖµ¡£Ô±¾ÒÔΪÕâÑù»áÏëMDBÄÇÑù£¬ËüÖ±½Ó˵0.ËÖªµÀ»¹ÊÇNULL¡£º¹£©
±¾È˸ջ»MSSQL¡£ÇëÁ½â
ÔÚĬÈÏÖµÄÇÀïÉèÖÃÓ¦¸ÃûÎÊÌâµÄ
ÔÚ²åÈëÊý¾ÝµÄÊÇÖ¸¶¨ÆäËûµÄÁкÍÖµ¼´¿É
Èç tb(id int,str varchar(10))
insert tb(id) values(10)
½á¹ûΪ
10 0
ÎÒÓõÄÊÇRS.ADDNEWS¸üеÄÊý¾Ý¡£»á²»»áÓÐÓ°Ïì
Õâ¸ö²»ÊǺÜÇå³þ£¬Äã¿ÉÒÔÔÚ²éѯ·ÖÎöÆ÷ÓÃsqlÓï¾ä²åÈëÊý¾Ý²âÊÔÒ»ÏÂ
Õý³£Çé¿ö²»»á¡£¡£
¡£¡£¡£¡£¡£¡£¡£¡£
²»»á
¿ÉÒÔÊÔ×Å°ÑÉèÖÃĬÈÏÖµµÄ×Ö¶ÎÉèÖÃΪnot null£¬ÔÙ²âÊÔ¿´¿´ÄÄÀï³öµÄÎÊÌâ
Ïà¹ØÎÊ´ð£º
Ò»ÕÅ±í£¬×ֶηÖΪid,time1,time2,time3,time4,time5
ÇëÎÊÎÒÓ¦¸ÃÈçºÎÑ¡ÔñIDΪ1µÄÄÇÌõ¼Ç¼ÖÐtimeʱ¼ä×îСµÄÖµÄØ£¿
UP!
[code=SQL][/code]select min(t) from
(select time1 as t from t1 where id ......
accessʱ²éѯËٶȻ¹Âù¿ìµÄ£¬ÏÖÔÚת³ÉmssqlÁË£¬Êý¾ÝÁ¿²¢²»´ó£¬Í¨³£Êý¾ÝÁ¿¶àЩµÄ¾ÍÊǼ¸Ç§Ìõ£¬µ±È«²¿ÁгöÊý¾ÝʱËÙ¶ÈÒ²²»Âý£¬¾ÍÊÇ°´Ìõ¼þËÑË÷ʱ¾ÍÂýÁË£¬ÇëÎÊÊDz»ÊǸúlikeÓйذ¡£¬µ«ÒÔÇ°ÓÃaccessÂù¿ìµÄ°¡£¬Ò²½¨Á¢ÁËË÷ÒýÁË ......
ÈçÌ⣬MYSQLÓÖÔõô»ñÈ¡£¿
ÈçÌâ
Õâ¸ö¹À¼ÆÔÚÈÕÖ¾ÎļþÖвÅÄÜ¿´¼û°É
Õâ¸ö¹À¼ÆÔÚÈÕÖ¾ÎļþÖвÅÄÜ¿´¼û°É
ÒýÓÃ
³ý·ÇÄãÒµÎñÉÏ×ö¼Ç¼£¬·ñÔòÄãÊDz»ÄÜÖªµÀµÄ¡£ÒòΪÈÕÖ¾²»¼Ç¼selectÓï¾äÃüÁî¡£
..
ÄÇÓÐûÓÐϵͳ´ ......
ÏÈHappy New Year!
WINÈí¼þµÄÏà¹ØµÄÅäÖÃÐÅÏ¢ÔÀ´±£´æÔÚACCESSºÍXMLÎļþÀïÃ棬µ«¶à¸öÓû§·ÃÎʲ¢·¢ÀϳöÎÊÌ⣬ÏÖÔÚ·ÅMSSQLÀïÎÊÌâ½â¾öÁË£¬µ«ÎÒ²»ÏëÓû§¿´µ½Êý¾Ý±í½á¹¹ºÍÀïÃæµÄÊý¾Ý£¬Ö»ÄÜÓÃÈí¼þ²Ù×÷·ÃÎÊ¡£
ÇëÎÊ ......