@@DATEFIRST in SQL

The @@DATEFIRST in SQL Server is one of the Date and Time Function, which will return the first day of the week. This value is between 1 and 7. If your default language is US English, then by default, 7 is returned. The basic syntax of SQL Server @@DATEFIRST is @@DATEFIRST @@DATEFIRST in SQL Example In this … Read more