What datatype is used for time in database table ?
Loading
What datatype is used for time in database table ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rijwan AnsariPosted Nov 3, 2022, 1:46 PM
Hi,
You can Time datatype in MS SQL or MYSQL database.
Pankajkumar PatelPosted Nov 3, 2022, 1:40 PM
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!
Deepak TewatiaPosted Nov 3, 2022, 8:17 AM
Data type:time
Rushang VoraPosted Nov 3, 2022, 7:46 AM
For Time data Store you need to use Datatype : Time.