C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SQL Server Transact Basic to Expert - Display the Year alone using systemdate
WhatsApp
Karthikeyan Anbarasan
14y
3.2
k
0
0
25
Blog
This blog shows how to do an get the year alone from the Systemdate in the output using SQL Query
Example:
SELECT DATEPART(yy, GETDATE())
The expected result would be 2011
SQL Server Transact Basic to Expert - Display the Year alone using systemdate
People also reading
Membership not found