وظيفة MS Access MonthName ()
مثال
إرجاع اسم الشهر بناءً على رقم:
SELECT MonthName(3);
التعريف والاستخدام
ترجع الدالة MonthName () اسم الشهر بناءً على رقم.
بناء الجملة
MonthName(number, abbreviate)
قيمه المعامل
Parameter | Description |
---|---|
number | Required. A value from 1 to 12, that represent the month |
abbreviate | Optional. A Boolean value. True = the month name should be abbreviated. False = the month name should not be abbreviated. False is default |
تفاصيل تقنية
يعمل في: | من Access 2000 |
---|
مزيد من الأمثلة
مثال
إرجاع الاسم المختصر للشهر بناءً على رقم:
SELECT WeekdayName(3, true);