How do we get month name in SQL Server 2000, Oracle, MS Access?
Answer Posted / kathiravan jayachandran
In Oracle
select to_char(sysdate, 'dd/mm/yyy')as year from dual
EG:-
select ed.emp_date_of_birth,ed.first_name,ed.last_name
from emp_details ed where
to_char(ed.emp_date_of_birth,'mm')=to_char(sysdate,'mm')
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What is a view and what are its advantages?
How to create dbo table in sql server?
What is the difference between migration and upgradation in sql server?
What does it mean to normalize data?
How to run sql server 2005 books online on your local system?
What is a schema in ms sql server 2005?
How to assign new column names in a view?
How data can be copied from one table to another table?
Define ACID properties in a Database?
How can I know what locks are running on which resource?
what is the system function to get the current user's user id? : Sql server database administration
Explain system rowset functions?
How do I view a procedure in sql server?
What are SSL and TSL protocols?
How will you add a dimension to cube? : sql server analysis services, ssas