Select RecordCount=count(st_id) from student where datediff(day,dateadd(Month,1,act_date),getdate())=0
Select RecordCount=count(st_id) from student where dateadd(Month,1,act_date) <= getdate()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)