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 scheduled job or what is a scheduled task?
How do we know if any query is retrieving a large amount of data or very little data?
How to add a new dsn with the odbc driver for sql server?
What are the types of database schema? : sql server analysis services, ssas
Explain forward - only cursors?
what's the maximum size of a row? : Sql server database administration
Explain the microsoft sql server delete command?
What are the difference between “where” and “having” clause in sql server?
How can I track the changes or identify the latest insert-update-delete from a table?
How to use wildcard characters in like operations in ms sql server?
How to find out the list schema name and table name for the database?
Explain what is it unwise to create wide clustered index keys?
Explain the steps to use transact-sql cursor?
Explain tablesample?
What happens if we shrink log file in sql server?