sqlserver的datediff(day,startdate,enddate)+1函数如何在mysql 找到对应

lilinew 2006-12-11 11:43:01
sqlserver的datediff(day,startdate,enddate)+1函数如何在mysql 找到对应


sqlserver的datediff(day,startdate,enddate)+1函数如何在mysql 找到对应
急切问
...全文
265 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
daiyi 2006-12-11
  • 打赏
  • 举报
回复
DATEDIFF(expr,expr2)

DATEDIFF() returns the number of days between the start date expr and the end date expr2. expr and expr2 are date or date-and-time expressions. Only the date parts of the values are used in the calculation.

57,062

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧