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 - Returning the Current date
Karthikeyan Anbarasan
Jun 16, 2011
2.7
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Returning the Current date
This blog shows how to get the current system date using a SQL query
Example:
SELECT 'CurrDateAndTime', SYSDATETIME()
The expected result would vary based on the time we execute the query
2011-03-03 10:10:12.0861608
SQL Server Transact Basic to Expert - Returning the Current date
Next Recommended Reading
SQL Server Transact Basic to Expert - Display Current date in mm/dd/yyyy format