当前位置:网站首页>sqlServer2008中float类型数据与datetime类型数据互转
sqlServer2008中float类型数据与datetime类型数据互转
2022-06-25 22:05:00 【langmeng110】
话不多说,直接上代码:
--datetime转换为float
select convert(float,current_timestamp); //43963.672012731484
--float转换为datetime
select convert(datetime,43963.670775887345); //2020-05-14 16:05:55.033
边栏推荐
- YUV444、YUV422、YUV420、YUV420P、YUV420SP、YV12、YU12、NV12、NV21
- mysql
- 二叉排序树
- Uni app -- listen for the exit of the return key
- Screen recording to GIF is an easy-to-use gadget, screentogif, which is free and easy to use!
- Leetcode (435) - no overlapping interval
- 关于Swoole协程容器
- SSL/TLS、对称加密和非对称加密和TLSv1.3
- Kylin
- Px4 multi computer simulation (gazebo)
猜你喜欢

Hibernate entity class curd, transaction operation summary

When are the three tools used for interface testing?

提取系统apk

DPVS-FullNAT模式管理篇

Graduation trip | recommended 5-day trip to London

YUV444、YUV422、YUV420、YUV420P、YUV420SP、YV12、YU12、NV12、NV21

Qt自定义实现的日历控件

C# IO Stream 流(二)扩展类_封装器

解析產品開發失敗的5個根本原因

jdbc常见异常及错误解决办法汇总
随机推荐
发送邮件工具类
Bi-sql stored procedure (I)
转载: QTableWidget详解(样式、右键菜单、表头塌陷、多选等)
B. Box Fitting-CodeCraft-21 and Codeforces Round #711 (Div. 2)
第五章 习题(124、678、15、19、22)【微机原理】【习题】
实例:用C#.NET手把手教你做微信公众号开发(21)--使用微信支付线上收款:H5方式
Px4 simulation basis
28 rounds of interviews with 10 companies in two and a half years (including byte, pinduoduo, meituan, Didi...)
Tree class query component
Uni app -- listen for the exit of the return key
CSDN force value
SVN
DPVS-FullNAT模式管理篇
When are the three tools used for interface testing?
关于go协程超时退出控制条件与方式分析
QLabel 文字水平滚动显示
一文讲透研发效能!您关心的问题都在
mysql版本升级+数据迁移
Leetcode (435) - no overlapping interval
Uniapp -- list page of multi header tabs