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

¹ØÓÚSQLµÄupdateÓï¾äµÄÎÊÌ⣿

sql = "update ¹ÉƱ set [»õ±Ò×ʽð]=" & hb & ",[³¤ÆÚ¸ºÕ®]=" & fz & ",[×ܹɱ¾]=" & zgb & " where [´úÂë]='000010' "

ÎҸijÉÁË
b="000010"
sql = "update ¹ÉƱ set [»õ±Ò×ʽð]=" & hb & ",[³¤ÆÚ¸ºÕ®]=" & fz & ",[×ܹɱ¾]=" & zgb & " where [´úÂë]=b "
µ«ÊÇÃ²ËÆÊ²Ã´µØ·½³ö´íÁË£¬Ò»Ö±²»ÄÜͨ¹ý£¬Çë¸ßÊÖÖ¸½Ì
ÒýÓÃ
sql = "update ¹ÉƱ set [»õ±Ò×ʽð]=" & hb & ",[³¤ÆÚ¸ºÕ®]=" & fz & ",[×ܹɱ¾]=" & zgb & " where [´úÂë]='000010' "

ÎҸijÉÁË
b="000010"
sql = "update ¹ÉƱ set [»õ±Ò×ʽð]='" & hb & "',[³¤ÆÚ¸ºÕ®]='" & fz & "',[×ܹɱ¾]='" & zgb & "' where [´úÂë]=b "
µ«ÊÇÃ²ËÆÊ²Ã´µØ·½³ö´íÁË£¬Ò»Ö±²»ÄÜͨ¹ý£¬Çë¸ßÊÖÖ¸½Ì

ÒÔϹ©參¿¼£º
VB code:

sql = "update Info set OutPutDateTime ='" & Now & "',OutStorageUser='" & UCase(loginUser) & "',OutPutState='" & PassProduct.Caption & "',Flag='" & 1 & "' " & "where Barcode= '" & Barcode.Text & " '&q


Ïà¹ØÎÊ´ð£º

ÃÅÍ⺺ÇóÖú...¹ØÓÚºǫ́+SQL+ASP

....½Óµ½Ò»¸öС³ÌÐò..¹¤×÷Ô­À´´ó¸ÅÊÇÕâÑùµÄ...ǰ̨ÊÇWEB·þÎñÆ÷.¼Ü¹¹¾ÍÊÇASP+SQL..ǰ̨ÓÉASPÏòSQLÌí¼Ó·þÎñÀà±ð(±íµ¥).È»ºóÓÖºǫ́³ÌÐò¶ÁÈ¡±íµ¥..Ҫʵʱ¶ÁÈ¡..È»ºóÏÔʾÔÚ·þÎñÆ÷ÉÏÃæ..´ÓÀíÂÛÉÏÃæÄÜÐÐͨ²»?Èç¹û¿ÉÒÔ..ºǫ́ ......

Á½¸öµ¼¹¹sql serverÊý¾Ý¿â,Êý¾Ýµ¼Èëµ¼³öÎÊÌâ

ÏÖÔÚÓÐÁ½¸öÒì¹¹µÄsql serverÊý¾Ý¿â,ÎÒÏ뽫µÚÒ»¸ö±íÖеÄÊý¾Ýµ¼Èëµ½µÚ¶þ¸ö±íÖÐ,×Ô¼ºÖ¸¶¨µ¼ÈëÊý¾ÝµÄ×Ö¶Î,ÈçºÎµ¼ÈëÊý¾ÝÄØ,´ó¼ÒÌÖÂÛÒ»ÏÂ?
dts¹¤¾ß

µ¼Èëµ¼³ö¹¤¾ß.

DD

¹þ¹þ£¬¹À¼ÆÕâλÊǵØQIOU¶¼Êܲ»Á˵Ä

Ö±½ÓÐ ......

¹ØÓÚgroup byµÄsqlÓï¾ä£¿

  with adod_dict do
    begin
    close;
    commandtext:='select bgqxcode,count(*) wjsl from wscl_wsda_file where wjnd=:tnd group by bgqxcode'; ......

sql ÎÊÌâ

PBÖпª·¢µÄ¡£

DateTime startTime=DateTime(em_1.Text)
DateTime endTime=DateTime(em_2.Text)

string sql
sql = dw_1.GetSQLSelect()+"Where (StartTime> '"+startTime+&q ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ