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 get number of days in a given year?

Answers were Sorted based on User's Feedback



How to get number of days in a given year?..

Answer / sandhya

SELECT DATEDIFF(DD,HIREDATE,GETDATE())

Is This Answer Correct ?    1 Yes 0 No

How to get number of days in a given year?..

Answer / koppalahareesh

declare @y int;
set @y = 2016;

SELECT DATEDIFF(day,cast(@y as char(4)), cast(@y+1 as char(4))) Days

Is This Answer Correct ?    1 Yes 0 No

How to get number of days in a given year?..

Answer / dinesh rathod

would like to get the total number of days in a year left from the given

Is This Answer Correct ?    0 Yes 0 No

How to get number of days in a given year?..

Answer / pulak

select add_months(trunc(sysdate,'year'),12)-trunc(sysdate,'year') as days from dual;

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What are four major operators that can be used to combine conditions on a where clause?

0 Answers  


What is a Join and explain its types?

0 Answers  


What is acid mean in sql server?

0 Answers  


what is difference between having and where clause ?

3 Answers  


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

0 Answers  


How to drop existing views from a database in ms sql server?

0 Answers  


How to automatically create a log when an exception is being received into SQL Server?

0 Answers   Cap Gemini,


What is collation sensitivity?

0 Answers  


How do you start single user mode in clustered installations?

0 Answers  


Do you know what is fill factor and pad index?

0 Answers  


What is the difference between migration and upgradation in sql server?

0 Answers  


What is row-level compre?

0 Answers  


Categories