[SQL Server]为 datediff 指定了无效的参数 1
sqlTop=sqlTop & " S.ID,S.Name,S.Version,S.Author,S.Keyword,S.UpdateTime,S.Editor,S.Hits,S.SoftSize from Soft S where S.Deleted=0 and S.Passed=1 And datediff('D',LastHitTime,getdate())<=0 order by S.DayHits desc,S.SoftID desc"
为何报:[Microsoft][ODBC SQL Server Driver][SQL Server]为 datediff 指定了无效的参数 1