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

the uvula is a finger-shaped structure that projects from the
Дать характеристику по атласу климатической карте мира 17:41​
what conclusion did george murdock make following his study of 324 societies
the postconventional level of moral development is most closely associated with what code of ethics?
which term means the process of hiding object data and providing methods for data access?
by the eighteenth century, consumer goods such as books and ceramic plates:
What the root word for expense
Let set S = {1,2,3,....,30}. Let A = the event that an element in the set is a multiple of 2. Let B = the event that an element in the set is a prime number. Le
If a country has relatively abundant unskilled labor, with scarce land and capital, it is more likely to have a comparative advantage in which of the following
what is the chemical formula of table salt.?​