Archive
SQL Azure Reporting.
SET QUOTED_IDENTIFIER ON/OFF and SET ANSI_NULLS ON/OFF
Most of us use those statements while creating stored procedures and functions. most of us don’t know what is the significance of those statements and how they are useful.
SET QUOTED_IDENTIFIER ON/OFF
Understand Response Time vs. Total Time in SQL
Response time is the time it takes for a query to return the first record. Total time is the time it takes for the query to return all records. For an interactive application, response time is important because it is the perceived time for the user to receive visual affirmation that a query is being processed. For a batch application, total time reflects the overall throughput. You have to determine what the performance criteria are for your application and queries, and then design accordingly.
Get a comma separated list in SQL & MDX.
Sequence Vs Identity – SQL Server 2012
What is sequence?
Sequence is a newly introduced database object in Sql Server 2012, Sequence is used to generate a sequence of numeric values in either ascending or descending order, along with an option to have the minimum and maximum values and also allows to cycle and cache for better performance.