Skip to content
Advertisement

Want month wise net amount and mandays in sql when a date range is selected fromdate to todate

Want month wise query here condition are

Advertisement

Answer

try this.

DATEPART function will return the specific part in a date column. Using MONTH, you can get the desired output.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement