Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » General » Revisions
Add your own
alternative version

Tagged as

Find all SQL Server DateTime Formats

, 25 Mar 2010 CPOL
When using DateTime with SQL Server, I often forget what the parameters are that allow formatting DateTime in specific ways. When that happens, I fire up this code fragment in SQL Server Management Studio and it neatly lists out every possible parameter with example output.declare @Loop...



Compare Revision Minor Date Status Editor
4 - publicly available No 26-Mar-10 4:28 Available Karel Čapek
2 No 24-Mar-10 4:24 Composing Karel Čapek
1 No 23-Mar-10 4:47 Composing Karel Čapek


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Karel Čapek

United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150327.1 | Last Updated 26 Mar 2010
Article Copyright 2010 by Karel Čapek
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid