条件语句如下:
where indate>'2010-06-31' 如果indate为日期型那么indate大于2010-08-31 0:0:0数据将不包含在内,
必须写为where convert(varchar(10),indate,126)>'2010-06-31'
条件语句如下:
where indate>'2010-06-31' 如果indate为日期型那么indate大于2010-08-31 0:0:0数据将不包含在内,
必须写为where convert(varchar(10),indate,126)>'2010-06-31'
数据库取时间 SELECT CURRENT_DATE() yyyy-mm-dd SELECT NOW() yyyy-mm-dd hh:mm:ss
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M