Simplest way to create a date that is the first day of the month, given another date

前端 未结 0 998
青春惊慌失措
青春惊慌失措 2021-02-08 16:55

In SQL Server what is the simplest/cleanest way to make a datetime representing the first of the month based on another datetime? eg I have a variable or column with 3-Mar-2005

相关标签:
回答
  • 消灭零回复
提交回复
热议问题