errsql: select top 1 pageViewID from pageView where menuID= and datediff(day,cDate,getdate())=0