ITPub博客

首页 > Linux操作系统 > Linux操作系统 > sql日期模糊查询

sql日期模糊查询

原创 Linux操作系统 作者:iSQlServer 时间:2009-10-22 06:48:09 0 删除 编辑
Select   *   from t_user_profile  where  convert(varchar(21),regDate,120) like '2008-05-07%'
表名称:t_user_profile
日期字段名称:regDate

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16436858/viewspace-617134/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-10-17

  • 博文量
    1319
  • 访问量
    2343663