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

a multi step equation that equals 9 I​
If the girls pulled with a net force of 1055 N and the boys pulled with a net force of 1045 N what directions will the rope go?
LAST QUESTION! 100 POINTS+BRAINLIEST!!! Which statement about prescription medicines is true? Stop taking the medicine when one feels better Never mix medicines
What must a presentation contain to be called a multimedia presentation?
victoria is planting lettuce seeds in her garden so that there are 2 seeds every 6 inches
Simplify x-7=0 i think it's x=7/2 (fraction) but I might be wrong
Please help with this problem. Thank you.​
The figure is cut into 6 equal pieces. What fraction of the figure is shaded dark? 5 is shaded, 1 isn’t. whats the answer?
If Ted traveled 0KM In 60Mins/1hr what is his average speed?
what type of cell causes water to flow through a sponge and helps it trap food?