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 display all Friday's in a year with date?

Answer Posted / kuldeep

select * from
(

SELECT (TRUNC (SYSDATE, 'yyyy') + LEVEL - 1) dt,
TRIM(TO_CHAR ((TRUNC (SYSDATE, 'yyyy') + LEVEL - 1), 'Day')) dy
FROM DUAL
CONNECT BY LEVEL <= 365

)
where dy='Friday'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?

1125


What is constant in pl sql?

983


What is sql profiling in oracle?

1010


What are keys in sql?

957


What is the usage of when clause in trigger?

1007


What is cursor and why it is required?

1121


When is the explicit cursor used ?

990


what is the use of set statement in tsql? : Transact sql

960


Is sql low level language?

973


Can a foreign key be null?

1037


What is the difference between microsoft access and sql server?

1003


Can a select statement fire a trigger?

1105


How is pl sql different from sql?

1024


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

1101


what are the authentication modes in sql server? How can it be changed? : Sql dba

1343