SELECT * FROM tb_weblog where year(time_begin)=year(curdate()) and month(time_begin)=month(curdate()) 这样写也能比较出来,但很麻烦,在mssql里面直接写time_begin=getdate()就是当天的.
SELECT * FROM tb_weblog where year(time_begin)=year(curdate()) and month(time_begin)=month(curdate()) 这样写也能比较出来,但很麻烦,在mssql里面直接写time_begin=getdate()就是当天的.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货