SQL Server 2008:
SELECT cast(AttDate as time) [time]
FROM yourtable
Các phiên bản trước:
SELECT convert(char(5), AttDate, 108) [time]
FROM yourtable
SQL Server 2008:
SELECT cast(AttDate as time) [time]
FROM yourtable
Các phiên bản trước:
SELECT convert(char(5), AttDate, 108) [time]
FROM yourtable