how to type a date in sql code example Example: sql server date field syntax DATE - format YYYY-MM-DD