sql日期模糊查询语句
Select * from t_user_profile where convert(varchar(21),regDate,120) like '2008-05-07%'
表名称:t_user_profile
日期字段名称:regDate
本文介绍了一种使用SQL进行日期模糊查询的方法,通过示例展示了如何针对特定日期进行数据检索。具体示例为从t_user_profile表中根据注册日期regDate进行匹配查询。
sql日期模糊查询语句
Select * from t_user_profile where convert(varchar(21),regDate,120) like '2008-05-07%'
表名称:t_user_profile
日期字段名称:regDate

被折叠的 条评论
为什么被折叠?