Dengan tabel, DateTable dengan kolom Date tipe Date, query berikut akan melakukan apa yang Anda minta.
SELECT
DATENAME(dw, Date) AS WeekDay
,Date
,ROW_NUMBER() OVER (ORDER BY Date) AS Day
FROM DateTable
WHERE DATEPART(dw, Date) NOT IN (1, 7)
ORDER BY Date