Question : How do I CAST DATETIME to get only the month

I have the variable time which is a DATETIME. How do I get only the month part of the data?

Answer : How do I CAST DATETIME to get only the month

SELECT (Month([YourDate]) FROM Table1
Random Solutions  
 
programming4us programming4us