Answer Posted / akshay wadkar
DECLARE @year AS INT
SET @year=2010
Select DATEDIFF(DAY,DATEADD(YEAR,@year-1900,0)
,DATEADD(YEAR,@year-1900+1,0)) AS [TOTAL NO OF DAYS]
GO
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Distinguish between nested subquery and correlated subquery?
What is the recovery model?
What are logical/boolean operations in ms sql server?
What is the latest version of microsoft sql server?
what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
Does partitioning ssd reduce performance?
Can we insert data if clustered index is disabled?
What are the difference between clustered and a non-clustered index?
what is raid? : Sql server database administration
What is the difference between count () and rowcount ()?
What are key constraints?
What is format parameter in ssrs?
What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas
What do you mean by data integrity?
You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?