Skip to content
Advertisement

Ignore Sunday while generating student attendance report in SQL

This code gives me the attendance report between two dates passed as a parameter. I will pass dates respective of the month selected from the C# code.

But I want to skip Sundays while generating the attendance report. How can I achieve this?

Advertisement

Answer

How about changing #TempDates?

This assumes that your internationalization settings are set to “English”.

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