Konversi string waktu menjadi 12 jam di SQL
declare @t time
set @t = '14:40'
select CONVERT(varchar(15),@t,100)
shafeeque
declare @t time
set @t = '14:40'
select CONVERT(varchar(15),@t,100)