What datatype is used for time in database table ?
Datatype used for time in database
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
What datatype is used for time in database table ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pankajkumar PatelRank #181 · 13.4K reputationPosted Nov 3, 2022, 9:40 AM EDT
Hi Madhu V,
time datatype is designed to used for time in database table.
For more details:
https://learn.microsoft.com/en-us/sql/t-sql/functions/date-and-time-data-types-and-functions-transact-sql?view=sql-server-ver16
Hope, this will help you!
Rijwan AnsariRank #82 · 24.2K reputationPosted Nov 3, 2022, 9:46 AM EDT
Hi,
You can Time datatype in MS SQL or MYSQL database.
Rushang Vora64 reputationPosted Nov 3, 2022, 3:46 AM EDT
For Time data Store you need to use Datatype : Time.
Deepak TewatiaRank #142 · 16K reputationPosted Nov 3, 2022, 4:17 AM EDT
Data type:time