select * from table where convert(char(10),dealdate,111) <'2003/03/27'

解决方案 »

  1.   

    select * from table where convert(char(10),dealdate,120) <'2003/03/27'
      

  2.   

    TRY:
    select * from table where dealdate<'2003/03/27'
      

  3.   

    select * from table where dealdate < convert(date,'2003-03-27')
      

  4.   

    如果在VB中写SQL语句怎么写????VB中没有convert函数呀
      

  5.   

    select * from table where dealdate between convert(date,'2003-03-27') and convert(date,'2003-03-27 23:59:59')SQL语句和VB语法没有关系。
      

  6.   

    提示date不是已定义的系统类型