How to find last day of the month in sql query
Answers were Sorted based on User's Feedback
Answer / vishwa
below query will get the last day of the month
select last_day(sysdate) from dual
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / ajit
select TO_CHAR( last_day(sysdate), 'day')
from dual
Is This Answer Correct ? | 12 Yes | 2 No |
select to_char(sysdate, 'day') from dual;
This will print output: tuesday i.e
select last_day(sysdate) from dual;
This will print output: 31-Aug-14
Is This Answer Correct ? | 2 Yes | 0 No |
Is hadoop a nosql?
How do you remove duplicates without using distinct in sql?
what is 'mysqldump'? : Sql dba
What is assignment operator in pl sql?
What is blind sql injection?
What is a schema sql?
Easy way to convert tableau "IF - ELSEIF" statements to Netezza "CASE" statements.
What is meant by truncate in sql?
i have a table with fields(id,name,accnt_type)and in account type are FD,SAVING,RD. Write a query to get How many number of People are in each type of Account?
What is normalization in a database?
What is pl sql commands?
Is nosql relational?