coding and testing
select CONVERT(Datetime, '1 '+ LEFT('Jul',3) + ' ' + RIGHT('10',2), 106)
2010-07-01 00:00:00.000
2010-07-01 13:00:00.000
CONVERT(varchar(5), xxxxxx, 108)
13:00
Powered by: 博客园 Copyright © 2024 mr liao Powered by .NET 9.0 on Kubernetes