1
推荐
1567
阅读
MSsql和Mysql日期函数对比
MSsql和Mysql日期函数对比1,获取当前日期、时间MSsql :select getdate()Mysql :select now();
select current_timestamp(); # 获取当前日期+时间
select current_date(); # 获取当前日期
select current_time(); # 获取当前时间2,获取日期的年、月、日、时、分、秒MSsql常用函数:select datepart(year...