SQL数据库怎么将列的varchar (255)格式转换date格式 列中有数据列名 最后下线时间2019/7/2 7:052019/4/17 13:53
convert(datetime,列名, 20)试试
select cast('2019/7/2 7:05' as datetime)