DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
sql get year from datetime field
SELECT YEAR(DateTimeField) FROM MyTable
Source by www.sqltutorial.org #
PREVIOUS
NEXT
Tagged:
#sql
#year
#datetime
#field
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit