MS Access WeekdayName() လုပ်ဆောင်ချက်
ဥပမာ
နံပါတ်တစ်ခုအပေါ်အခြေခံ၍ ရက်သတ္တပတ်အမည်ကို ပြန်ပေးပါ။
SELECT WeekdayName(3);
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
WeekdayName() လုပ်ဆောင်ချက်သည် နံပါတ်တစ်ခုအပေါ် အခြေခံ၍ ရက်သတ္တပတ်အမည်ကို ပြန်ပေးသည်။
အထားအသို
WeekdayName(number, abbreviate, firstdayofweek)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
number | Required. A value from 1 to 7, that represent the day of the week |
abbreviate | Optional. A Boolean value. True = the weekday name should be abbreviated. False = the weekday name should not be abbreviated. False is default |
firstdayofweek | Optional. Specifies the first day of the week.
Can be one of the following values:
|
နည်းပညာဆိုင်ရာအသေးစိတ်
အလုပ်လုပ်သည်- | Access 2000 မှ |
---|
နောက်ထပ် ဥပမာများ
ဥပမာ
နံပါတ်တစ်ခုအပေါ်အခြေခံ၍ အတိုချုံးသော ရက်သတ္တပတ်အမည်ကို ပြန်ပေးပါ။
SELECT WeekdayName(3, true);
ဥပမာ
နံပါတ်တစ်ခုအပေါ်အခြေခံ၍ အတိုချုံးထားသော ရက်သတ္တပတ်အမည်ကို ပြန်ပေးကာ တနင်္လာနေ့သည် အပတ်၏ပထမနေ့ဖြစ်ပါစေ-
SELECT WeekdayName(3, true, 2);