Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hey Code Project , my question is if i want to calculate how much time spent completing particular job (for instance in 5 meetings and spending 4-5 hours in every meeting)what datatype should i prefer in SQl database ?

i have tried real but its not giving accurate result , any other suggestions please ??
Posted

1 solution

Integer: and hold the number of minutes. You can then rework that into whatever format you need later, and the maths all becomes trivial.
 
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