Answer Posted / 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 |
Post New Answer View All Answers
Difference between 2NF &3NF ?
What are the five characteristics of good data?
Can we insert data if clustered index is disabled?
What is the difference between value type and reference type?
How to write character string constants or literals in ms sql server?
What is transactional replication?
Can you explain what is sql server english query?
How do I create an extended event in sql server?
What is provisioning, billing and metering, and connection routing concepts in the service layer?
In what version of sql server were synonyms released?
Do you know what are pages and extents? : SQL Server Architecture
What are the properties of the relational tables?
How connect excel to sql server?
What is SubQuery in SQL Server 2008
Does group by sort data?