ASKER
SELECT CONVERT(VARCHAR,DATENAME(mm,GETDATE()))
ASKER
Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.
TRUSTED BY
select
sum(case when datedif = DATEPART(MM, GETDATE()) then quantity else 0 end) as month
...........