计算时间类型格式的2个字段之间的差异 [英] calculate the diffrence between 2 fields in time type format

查看:72
本文介绍了计算时间类型格式的2个字段之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我想节省部门人员输入和输出的时间

可以确定格式时间(没有日期时间)的字段类型,因为它只能节省小时和分钟而不是白天。它是sql server中用于类型时间设置列的类型

我如何计算时间类型格式的2个字段之间的差异?

感谢

hi i want save time of input and output of personel of department
can determine type of field in format time(no datetime) becase it only must save hours and minutes not day. is it a type in sql server for set column of type time
and how can i calculate the diffrence between 2 fields in time type format?
thanks

推荐答案

请按照以下链接:数据类型(Transact-SQL ) [ ^ ],选择正确的SQL服务器版本并检查它是否支持预期的数据类型。
Please, follow this link: Data Types (Transact-SQL)[^], choose proper SQL server version and check if it supports expected data type.


这篇关于计算时间类型格式的2个字段之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆