查出属于本月的数据(判断本月有没有数据)

SELECT * FROM gCms_IndicatorFirm WHERE datediff(month,[PostDate],getdate())=0

原文地址:https://www.cnblogs.com/yhdkzy/p/2359449.html