كيف يمكنني اختيار أول يوم في الشهر في لغة SQL؟

SELECT DATEADD(month, DATEDIFF(month, 0, @mydate), 0) AS StartOfMonth هل سيعمل؟
SELECT DATEADD(month, DATEDIFF(month, 0, @mydate), 0) AS StartOfMonth هل سيعمل؟
Show original content

4 users upvote it!

answersCount