i have to i have data in my table.i need to count the open issues for today ,30 days back,90 days back,180 days back.
i wrote a stored procedure
select projectname,cou nt('x') as "today's count",(select count('x') from table1 where(datediff( day,date_submit ted.getdate())> =30) group by projectname)as "30 days back count",(select. ......).
when i write stored procedure like this i get a error...
Leave a comment: