jennyhoang2201 jennyhoang2201
  • 14-07-2019
  • Computers and Technology
contestada

What is DATE data type and its syntax and what is TIMESTAMP data type and its syntax in SQL language.Explain the difference between both of them .

Respuesta :

Limosa
Limosa Limosa
  • 26-07-2019

Answer: The DATE datatype give us the particular date whereas TIMESTAMP gives us the date as well as the time as the particular moment.

Explanation:

DATE datatype gives us the date in the format yyyy-mm-dd. The timestamp format is yyyy-mm-dd hh:mm:ss. time stamp are of two types :

timestamp with time zone and timestamp without time zone.

Date is the date on that particular day whereas the timestamp is the date along with the specific time when the query is executed.

Answer Link

Otras preguntas

What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?
What is the silk road? What valuable products were traded on the silk road?