我只想要时间格式的 Hr 和 Min,所以我做到了
select convert(varchar(20),GETDATE(),108) ===>> output is "12:57:54"
但我只想要“12:57”这么多,所以我将如何在 sql server 中做到这一点
我只想要时间格式的 Hr 和 Min,所以我做到了
select convert(varchar(20),GETDATE(),108) ===>> output is "12:57:54"
但我只想要“12:57”这么多,所以我将如何在 sql server 中做到这一点