How do we get month name in SQL Server 2000, Oracle, MS Access?

Answer Posted / foram

select month(getdate())
select month(dateparametername) from tablename
---here u will get number of month
or

select datename(month,getdate())
select datename(month,dateparametername) from tablename
to get name of month

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find my localdb version?

710


What are the basic features of a trigger in ms sql server?

791


Please explain go command in sql server?

776


How to perform key word search in tables?

719


What is a unique index?

674






What is @@rowcount in sql?

729


Give the query of getting last two records from the table in SQL SERVER?

713


What are advantages of ssrs or why we should use ssrs?

117


When does a workload on SQL Azure get throttled?

127


What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?

831


How can you hide the sql server instances?

723


What is an identity?

728


What is sql server profiler?

742


Define Wed Edition in SQL Azure?

92


How many columns can we include on clustered index ?

677