WHERE IssueDate >= dateadd(mm,datediff(mm,0,getdate())-1,0)
and IssueDate < dateadd(mm,datediff(mm,0,getdate()),0)
------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/