FirstDayOfWeek Property
后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。
The FirstDayOfWeek property returns the calendar start day of the week for a language record.
语法
object.FirstDayOfWeek
Part
- object
An expression that evaluates to an object in the Applies To list
Data Type
Long
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetFirstDayOfWeek(LPINT pRetVal);
注释
A Microsoft SQL Server language record records the names of the days of the week localized to the language. To enable system selection of the correct day name, the day name string is stored so that the localized name for Monday appears first. For some locales, Monday is not the starting calendar weekday.