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 |
รายละเอียดทางเทคนิค
ทำงานใน: | จากการเข้าถึง 2000 |
---|
ตัวอย่างเพิ่มเติม
ตัวอย่าง
ส่งกลับชื่อย่อของเดือนตามตัวเลข:
SELECT WeekdayName(3, true);