Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to find last day of the month in sql query

Answers were Sorted based on User's Feedback



How to find last day of the month in sql query..

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

How to find last day of the month in sql query..

Answer / ajit

select TO_CHAR( last_day(sysdate), 'day')
from dual

Is This Answer Correct ?    12 Yes 2 No

How to find last day of the month in sql query..

Answer / sujit pingale

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

How to find last day of the month in sql query..

Answer / manoranjan sethy

Select LAST_DAY(Sysdate) From Dual;

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

How to get the 3rd column(i.e all the data along with the column name)in a table?

2 Answers   Logica CMG,


Is pl sql better than sql?

0 Answers  


What is the benefit of foreign key?

0 Answers  


difference between table level constraint and column level and advantages of table level constraint

4 Answers   Doyensys,


How many triggers can be applied on a table?

0 Answers  


How does join work in sql?

0 Answers  


What is differance unique key and primary key.

7 Answers   EDS,


How to get the procedure's, function's name from a package if it is wrapped(both spec & body).

2 Answers  


how to shut down the server with 'mysqladmin'? : Sql dba

0 Answers  


Describe different types of general function used in sql?

0 Answers  


what is sp_pkeys? : Transact sql

0 Answers  


what is the main difference between join and subqurey?

3 Answers   Oracle,


Categories