Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to extract year from date in sql

SELECT EXTRACT(YEAR FROM '2018-07-22')
Code language: SQL (Structured Query Language) (sql)
Source by www.sqltutorial.org #
 
PREVIOUS NEXT
Tagged: #extract #year #date #sql
ADD COMMENT
Topic
Name
6+5 =