[SQL] Convert 日期及金錢格式 應用 @ XiaoLian :: 隨意窩 Xuite日誌
//計算兩各日期的差異DATEDIFF ( datepart , startdate , enddate ) Ex:select a.create_date, a.read_date, b.sub_id, b.p2_id, b.p2_name,b.is_close, b.from_date, b.to_date from jobs.dbo.jobs2_auto_match_log as a, jobs.dbo.jobs2 b where a.sub_id=b ......