update instore set incheck=True where inid='aa'
数据库为Acesss2000,incheck为布尔类型,此处的incheck=true要什么写?不用带参数的
形式。

解决方案 »

  1.   

    update instore set incheck=True where inid=''aa''
      

  2.   

    可以运行啊!
    如果是程序中:
      ...
      sql.text:=('update instore set incheck=True where inid='+''''+'aa'+''''+';');
      ...
      

  3.   

    with adoquery1 do begin
    sql.text:='update instore set incheck=:x where inid=''aa''';
    Parameters.ParamByName('x').Value:=true;
    open;
    end;
      

  4.   

    update instore set incheck=1 where inid='aa'
      

  5.   

    将True改为1,如update instore set incheck=1 where inid='aa'