date datatype in sql
snippet in sql

date datatype in sql

user4786

DATE - format YYYY-MM-DD
DATETIME - format: YYYY-MM-DD HH:MI:SS
TIMESTAMP - format: YYYY-MM-DD HH:MI:SS
YEAR - format YYYY or YY

sql server date field syntax

user3328

DATE - format YYYY-MM-DD