Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
pmelan
Starting Member
1 Post |
Posted - 2008-07-21 : 16:06:11
|
| I have a datetime field that I am selecting from a table. Is there a way to convert it to MMMM dd, yyyy?Example: Date in table - 7/21/2008Needs to be - July 21, 2008Any help is much appreciated. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2008-07-21 : 16:10:32
|
| Yes use CONVERT with the appropriate style. See SQL Server Books Online for details.But you should be doing this in your application and not in T-SQL. This is a presentation/application layer issue.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/Subscribe to my blog |
 |
|
|
|
|
|