【转】SQL日期模糊查询

 

Select   *   from t_user_profile  where  convert(varchar(21),regDate,120like '2008-05-07%'
表名称:t_user_profile
日期字段名称:regDate

 

 

posted @ 2009-10-20 11:57  哥本哈根  阅读(503)  评论(3编辑  收藏  举报