TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
SQL Server Transact Basic to Expert - Display the Year integer value using systemdate
Karthikeyan Anbarasan
Jun 16, 2011
2.9
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Display the Year integer value using systemdate
This blog shows how to do an get the Years integer value alone from the Systemdate in the output using SQL Query
Example:
SELECT YEAR(GETDATE())
The expected result would be 2011
SQL Server Transact Basic to Expert - Display the Year integer value using systemdate
Next Recommended Reading
SQL Server Transact Basic to Expert - Incrementing a date value (Year) using query