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 |
|
rd_innovatives
Starting Member
18 Posts |
Posted - 2006-09-27 : 15:23:33
|
Hi All,Can anyone tell me the function name by which I can get the month Name form a date value When I am using the command print month('2006-09-26 16:30:18.793')in SQL Analyzer window it is giving 6as output but i need the name i.e. JUNE |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
Posted - 2006-09-27 : 15:28:17
|
| print datename(month, '2006-09-26 16:30:18.793')Be One with the OptimizerTG |
 |
|
|
rd_innovatives
Starting Member
18 Posts |
Posted - 2006-09-27 : 15:29:26
|
| Thanks TG ... it works !!!! |
 |
|
|
|
|
|