Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚ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¸üеÄÊý¾Ý¡£»á²»»áÓÐÓ°Ïì

ÒýÓÃ
ÎÒÓõÄÊÇRS.ADDNEWS¸üеÄÊý¾Ý¡£»á²»»áÓÐÓ°Ïì


Õâ¸ö²»ÊǺÜÇå³þ£¬Äã¿ÉÒÔÔÚ²éѯ·ÖÎöÆ÷ÓÃsqlÓï¾ä²åÈëÊý¾Ý²âÊÔÒ»ÏÂ

Õý³£Çé¿ö²»»á¡£¡£
¡£¡£¡£¡£¡£¡£¡£¡£

ÒýÓÃ
ÎÒÓõÄÊÇRS.ADDNEWS¸üеÄÊý¾Ý¡£»á²»»áÓÐÓ°Ïì

²»»á

¿ÉÒÔÊÔ×Å°ÑÉèÖÃĬÈÏÖµµÄ×Ö¶ÎÉèÖÃΪnot null£¬ÔÙ²âÊÔ¿´¿´ÄÄÀï³öµÄÎÊÌâ


Ïà¹ØÎÊ´ð£º

MSSQLÖÐÈçºÎÑ¡ÔñÒ»ÐÐÖÐ×îСµÄʱ¼ä£¿

Ò»ÕÅ±í£¬×ֶηÖΪ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ºó²éѯºÜÂý

accessʱ²éѯËٶȻ¹Âù¿ìµÄ£¬ÏÖÔÚת³ÉmssqlÁË£¬Êý¾ÝÁ¿²¢²»´ó£¬Í¨³£Êý¾ÝÁ¿¶àЩµÄ¾ÍÊǼ¸Ç§Ìõ£¬µ±È«²¿ÁгöÊý¾ÝʱËÙ¶ÈÒ²²»Âý£¬¾ÍÊÇ°´Ìõ¼þËÑË÷ʱ¾ÍÂýÁË£¬ÇëÎÊÊDz»ÊǸúlikeÓйذ¡£¬µ«ÒÔÇ°ÓÃaccessÂù¿ìµÄ°¡£¬Ò²½¨Á¢ÁËË÷ÒýÁË ......

MSSQLÔõô»ñÈ¡Êý¾Ý¿âÀúÊ·²éѯ×Ü´ÎÊý

ÈçÌ⣬MYSQLÓÖÔõô»ñÈ¡£¿
ÈçÌâ

Õâ¸ö¹À¼ÆÔÚÈÕÖ¾ÎļþÖвÅÄÜ¿´¼û°É

Õâ¸ö¹À¼ÆÔÚÈÕÖ¾ÎļþÖвÅÄÜ¿´¼û°É


ÒýÓÃ
³ý·ÇÄãÒµÎñÉÏ×ö¼Ç¼£¬·ñÔòÄãÊDz»ÄÜÖªµÀµÄ¡£ÒòΪÈÕÖ¾²»¼Ç¼selectÓï¾äÃüÁî¡£
..

ÄÇÓÐûÓÐϵͳ´ ......

MSSQLÊý¾Ý¿â±£ÃÜÔõôŪ£¿

ÏÈHappy New Year!

WINÈí¼þµÄÏà¹ØµÄÅäÖÃÐÅÏ¢Ô­À´±£´æÔÚACCESSºÍXMLÎļþÀïÃ棬µ«¶à¸öÓû§·ÃÎʲ¢·¢ÀϳöÎÊÌ⣬ÏÖÔÚ·ÅMSSQLÀïÎÊÌâ½â¾öÁË£¬µ«ÎÒ²»ÏëÓû§¿´µ½Êý¾Ý±í½á¹¹ºÍÀïÃæµÄÊý¾Ý£¬Ö»ÄÜÓÃÈí¼þ²Ù×÷·ÃÎÊ¡£
ÇëÎÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ