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

²éѯÊý¾Ý¿âÖÐСÓÚ0µÄSQLÓï¾ä

ÓÃACCESS ÓÐÕűíchanpin ÀïÃæÓÐÒ»Ïîkuchun

ÏÖÔÚÓÃÏÔʾ¿â´æСÓÚµÈÓÚ0µÄËùÓвúÆ·
ÓÃÓï¾ä SQL = "select * from chanpin where kuchun <='0' "  ²»ÄÜʵÏÖ
¸ÄΪ SQL = "select * from chanpin where kuchun ='0' " ÕâÑùµÄ»° ¿ÉÒÔʵÏÖkucunΪ0µÄÏîÄ¿È«²¿ÏÔʾ
µ«ÊÇÒªÇóÏÔʾСÓÚµÈÓÚ0µÄ¶«Î÷

Ôε¹
Õâ¸ö¸ÃÕâôд

»¹ÊÇÖ±½ÓÒ»¾äSQLÓï¾ä²»¹» ÒªÒ»ÌõÒ»Ìõ±éÀú¹ýÈ¥°¡
Çë½Ì

×¢Òâ Êý¾Ý¿âÖÐ kuchunµÄÀàÐÍΪÎı¾ ¡¢
Èç¹û¸ÄΪÊý×ÖÀàÐÍ  ÔòÉÏÃæµÄÓï¾ä¿ÉÒÔʵÏÖ

ÏÖ²»¸ÄÊý¾Ý¿âÖÐ×Ö¶ÎÀàÐÍ  ¸ÃÈçºÎд  лл 
SQL = "select * from chanpin where kuchun <=0 "

SQL = "select * from chanpin where kuchun <=0 "


SQL = "select * from chanpin where val(kuchun) <=0 "

ÒýÓÃ
SQL = "select * from chanpin where val(kuchun) <=0 "

Õâ¸ö¾ÍÐÐ

<=ºóÃæÓ¦¸ÃÓиö¿Õ¸ñ

SQLÓï¾äÄÚÕâ¸ö¿Õ¸ñ²»ÐèÒª,Ëü²¢²»ÊÇVB´úÂëµÄ¸³ÖµÊ½ÓÉIDEÔڵȺÅÁ½¶Ë×Ô¶¯Éú³É¿Õ¸ñ.

ºÇºÇ,ÎÒÒ»Ö±¼Ó¿Õ¸ñ,Ô­À´ÊÇÎÒ¶à´ËÒ»¾ÙÁË,ллÖì×ܵĽ̻å.
ûעÒâµ½LZÓõÄÊÇÎı¾ÐÍ,ÏÔÈ»3#Â¥ÊÇÕýÈ·µÄ.

ÒýÓÃ
SQLÓï¾äÄÚÕâ¸ö¿Õ¸ñ²»ÐèÒª,Ëü²¢²»ÊÇVB´úÂëµÄ¸³ÖµÊ½ÓÉIDEÔڵȺÅÁ½¶Ë×Ô¶¯Éú³É¿Õ¸ñ.


kuchun ×ößãÉèÖóÉ×Ö·û´®ÐÍ~


Â¥Ö÷µÄ SQL Óï¾äÓ¦¸ÃÊÇ¿ÉÒÔÓõģ¬Èç¹û¿â±íÖеĸººÅ¶¼ÊǼõºÅµÄ»°¡£Èç¹ûÓ


Ïà¹ØÎÊ´ð£º

sql server browserºÍsql server sql server express

sql server browserºÍsql server sql server expressÊǸÉÂðµÄ
ÎÒÖ»ÊÇÓÃSQL2005×öÍøÕ¾Êý¾Ý¿â£¬ÇëÎÊ¿ÉÒÔ½ûÓÃÂð£¿
ÎÒÏë½ÚÔ¼·þÎñÆ÷×ÊÔ´
»¹ÓÐÒ»¸ösql server fill text search
Õâ¸öÓ¦¸ÃÊÇÈ«ÎÄËÑË÷°É£¬¿ÉÒÔÒ²¿ÉÒ ......

¹ØÓÚSQL 2008

Ò»Ö±ÓÃ2000£¬Ïëѧ2008.
ÇëÎÊ
1. 2008±È2000ÓÐÄÄЩ¸ü·½±ãµÄÓ¦Óã¿
2. MSSQL 2008 Ö§³ÖÄÄЩϵͳ£¿ XP¿ÉÒÔ°²×°Âð£¿
3. ÔÚÄÄÓÐÏÂÔØ£¬×îºÃÊÇÃâϵÁкţ¬¼´D°æ¡£

лл£¡
ÎÒÒ²ÓÃ2000

1.Ì«¶àÁË ×Ô¼ºÈ¥ ......

SQLÌæ»»×Ö·û´®µÄÎÊÌâ

¸÷λ´óÏÀ£¬ÓиöÎÊÌâÇë½Ì£¬ÎÒÏÖÔÚÓÐÁ½ÕűíA,B×ֶζ¼ÓÐnum£¬Èç
A                    B
num                  ......

ÇóÒ»ÌõSQLÓï¾ä¡£

ID  ²Í±ð    ʱ¼ä
1  ÖÐ²Í 2009-10-25
2  ÖÐ²Í 2009-10-26
3  Íí²Í 2009-10-26
4  Ôç²Í 2009-10-27

½á¹û
1  ÖÐ²Í 2009-10-25
3  Íí²Í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ