@CMONTH = MONTH (GETDATE()) @CYEAR = MONTH (GETDATE())
declare @m int = datepart(MONTH, GETDATE()) select @m
declare @cmonth int,@cYear int ; select @cmonth=MONTH(getdate()); select @cYear=Year(getdate()); select @cmonth; Select @cYear;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)