Question: what is the difference between date and datetime in sql server?
Answer: DATE: It is used for values with a date part but no time part. ... DATETIME: It is used for values that contain both date and time parts. MySQL retrieves and displays DATETIME values in YYYY-MM-DD HH:MM:SS format. The supported range is 1000-01-01 00:00:00 to 9999-12-31 23:59:59 .