DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Jeffrey has posted 20 posts at DZone. View Full User Profile

Return Current System Date And Time In Microsoft SQL Server

07.15.2008
| 3615 views |
  • submit to reddit
        Solution from <a href="http://mattfaus.com/blog/2008/02/16/ms-sql-server-transact-sql-now-function/">The Matt Faus Blog</a>:

SELECT GETDATE();