select * from table where lie='null'   请问这条语句报“从字符串转换为 smalldatetime 数据类型时发生语法错误。”错误
该怎么修改???

解决方案 »

  1.   

    select * from table where lie is null
      

  2.   

    select * from table where lie is null up.
      

  3.   

    --查询条件:
    select * from tablename where lie is null
    --赋值:
    update tablename set lie=null where ...
      

  4.   

    is null
    不能写成
    ='null'
      

  5.   

    select * from tablename where  isnull(lie,0)=0