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
What are the types of joins in sql?
Can two tables share a primary key?
Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?
Can we run Reporting Services with SQL Server express edition, which is a free version of SQL Server?
What is the main purpose of having conversation group?
Using the customer, and order table in northwind database, please write a query to produce xml?
What is the default server name for sql server?
What is ssl in sql server?
what are defaults? Is there a column to which a default can't be bound? : Sql server database administration
List the different index configurations possible for a table?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
What is sql server management studio? : sql server management studio
What is sql server transaction log file?
How does the report manager work in SSRS?
John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?