我们将时间转为float格式
SELECT CAST(getdate() AS float);
同样我们可以转换回时间
SELECT CAST(43821.27650285494 AS DateTime);
在特别的数据库,可以存float类型来代替时间