select * from [orders] where actiondate=‘2007-06-30 19:09:20.000’
但我想把actiondate含有2007-06的都查出来,如何写?select * from [orders] where actiondate like‘%2007-06%’
这么写不行!请各位指教!