Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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
Posted
Comments
Sergey Alexandrovich Kryukov 19-Nov-13 10:41am    
What format? Why? What's the problem?
—SA
Richard MacCutchan 19-Nov-13 10:53am    
Try reading the documentation.

1 solution

Please, follow this link: Data Types (Transact-SQL)[^], choose proper SQL server version and check if it supports expected data type.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900