Post · 2020-05-20 00:00

想打人.

想打人. DateTime start,DateTime end. 資料庫開 year,month 欄位, 這天兵想把條件限制在 start~end 之間. 然後他寫 year between start.Year and end.Year and month between start.Month and end.Month . 真是想打人...........跨年就全死了啊 附圖可以當示意圖, 假設橫跨三年查詢, 橘色是預期查詢內容, 紅色是實際會查詢內容......

原始 Facebook 貼文

Replies
0
Likes
0
Reposts
0

Comments

No approved comments yet.