<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>SQL Server Performance &#187; TSQL</title>
	<atom:link href="http://www.sql-server-performance.com/tag/tsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sql-server-performance.com</link>
	<description>SQL Server Performance Tuning</description>
	<lastBuildDate>Wed, 22 May 2013 06:37:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Performance Impact of Using SELECT COUNT(*) In Queries</title>
		<link>http://www.sql-server-performance.com/2013/performance-select-count-queries/</link>
		<comments>http://www.sql-server-performance.com/2013/performance-select-count-queries/#comments</comments>
		<pubDate>Tue, 22 Jan 2013 03:17:08 +0000</pubDate>
		<dc:creator>Dinesh Asanka</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[Count]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=3545</guid>
		<description><![CDATA[I am not sure how this statement came into common usage, however, it seems to be regularly used by developers. Count(*) will use a table scan or Clustered index scan and so will eventually impair performance. In the case of a large table, a table scan or clustered index scan will impair your query performance, [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2013/performance-select-count-queries/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Efficient T-SQL Code – A Case of Incorrect Use of a UNION Operator</title>
		<link>http://www.sql-server-performance.com/2013/tsql-incorrect-union-operator/</link>
		<comments>http://www.sql-server-performance.com/2013/tsql-incorrect-union-operator/#comments</comments>
		<pubDate>Thu, 17 Jan 2013 05:01:52 +0000</pubDate>
		<dc:creator>satnam singh</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[TSQL]]></category>
		<category><![CDATA[UNION]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=3540</guid>
		<description><![CDATA[A couple of days back, I had a developer complaining me the slow performance of some T-SQL which was causing the application to throw a Timeout Expired error. During Investigation, I noticed that the developer made an incorrect use of a UNION operator which was the culprit. In this article, I will demonstrate the issue [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2013/tsql-incorrect-union-operator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VARCHAR (MAX), NVARCHAR (MAX) and NTEXT Data Types</title>
		<link>http://www.sql-server-performance.com/2012/varchar-max-nvarchar-max-ntext-data-types/</link>
		<comments>http://www.sql-server-performance.com/2012/varchar-max-nvarchar-max-ntext-data-types/#comments</comments>
		<pubDate>Wed, 05 Dec 2012 05:15:12 +0000</pubDate>
		<dc:creator>satnam singh</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[ntext]]></category>
		<category><![CDATA[nvarchar]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[TSQL]]></category>
		<category><![CDATA[varchar]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=3453</guid>
		<description><![CDATA[Despite NTEXT and TEXT being deprecated in SQL Server for some time they are still both used in production systems. In this article, I will briefly demonstrate the difference between a VARCHAR (MAX), NVARCHAR (MAX) and the NTEXT data types, and the impact on performance from using NTEXT/TEXT. Let’s create a table named Student using [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2012/varchar-max-nvarchar-max-ntext-data-types/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>SQL Server T-SQL Tuning &#8211; NOT IN and NOT Exists</title>
		<link>http://www.sql-server-performance.com/2012/sql-server-t-sql-tuning-not-in-and-not-exists/</link>
		<comments>http://www.sql-server-performance.com/2012/sql-server-t-sql-tuning-not-in-and-not-exists/#comments</comments>
		<pubDate>Sat, 01 Dec 2012 13:09:57 +0000</pubDate>
		<dc:creator>Shehap El-Nagar</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[NOT Exists]]></category>
		<category><![CDATA[NOT IN]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=3380</guid>
		<description><![CDATA[Following on from the previous TSQL performance tuning article in this series, we now focus on the important topic of T-SQL &#8220;Not IN&#8221; And &#8220;Not Exists &#8220; Not in and Not Exists commands : In some circumstances we will need to select/update/delete orphan data &#8211; that is data does not exists in the major table [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2012/sql-server-t-sql-tuning-not-in-and-not-exists/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>SQL Server T-SQL Tuning -TVF and Scalar Functions</title>
		<link>http://www.sql-server-performance.com/2012/sql-tuning-tvf-scalar-functions/</link>
		<comments>http://www.sql-server-performance.com/2012/sql-tuning-tvf-scalar-functions/#comments</comments>
		<pubDate>Tue, 27 Nov 2012 08:00:18 +0000</pubDate>
		<dc:creator>Shehap El-Nagar</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[Scalar]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[TSQL]]></category>
		<category><![CDATA[TVF]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=3350</guid>
		<description><![CDATA[In the first of this series we looked at TSQL tuning for temp tables, table variables and the Union command , we now turn our attention to User Defined Functions &#8211; either Table-Valued Functions or Scalar Functions. A UDF is very convenient for centralising business logic as we can specify a set of business logic [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2012/sql-tuning-tvf-scalar-functions/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>SQL Server T-SQL Tuning &#8211; Temp Tables, Table Variables and Union</title>
		<link>http://www.sql-server-performance.com/2012/sql-server-t-sql-tuning-temp-table-union/</link>
		<comments>http://www.sql-server-performance.com/2012/sql-server-t-sql-tuning-temp-table-union/#comments</comments>
		<pubDate>Tue, 20 Nov 2012 05:56:31 +0000</pubDate>
		<dc:creator>Shehap El-Nagar</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Table Variable]]></category>
		<category><![CDATA[Temp Table]]></category>
		<category><![CDATA[TSQL]]></category>
		<category><![CDATA[UNION]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=3332</guid>
		<description><![CDATA[In this article series we will focus on the primary points of T-SQL performance tuning. In this first installment I will lopok at tuning temp tables, table variables and the Union command. Temp Tables and Table Variables Most database developers are used to breaking down code into small chunks using  temp tables or table variables  [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2012/sql-server-t-sql-tuning-temp-table-union/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Tuning your SQL Query – Generating a Proper Execution Plan.</title>
		<link>http://www.sql-server-performance.com/2012/tuning-sql-query-execution-plan/</link>
		<comments>http://www.sql-server-performance.com/2012/tuning-sql-query-execution-plan/#comments</comments>
		<pubDate>Wed, 14 Nov 2012 05:15:12 +0000</pubDate>
		<dc:creator>satnam singh</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=3327</guid>
		<description><![CDATA[Recently one of my developers came to and complained of slow performance on a particular query. During the investigation I noticed that the primary cause was the poor query execution plan. In this article, I will discuss the approach which I used to improve the execution plan. For demonstration purpose, I will be creating a [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2012/tuning-sql-query-execution-plan/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New T-SQL Features in SQL Server 2012</title>
		<link>http://www.sql-server-performance.com/2012/t-sql-features-sql-server-2012/</link>
		<comments>http://www.sql-server-performance.com/2012/t-sql-features-sql-server-2012/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 07:17:34 +0000</pubDate>
		<dc:creator>Dinesh Asanka</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=2959</guid>
		<description><![CDATA[Paging Data Paging is a big issue for developers as it is required for many applications but entails many performance problems.  Developers have used different workarounds to support paging. For example, assume we need to display several pages of the HumanResource.Employee object with 5 rows per page. Below is the query you need to execute [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2012/t-sql-features-sql-server-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Built-In TSQL Functions in SQL Server 2012</title>
		<link>http://www.sql-server-performance.com/2012/tsql-functions-sql-server-2012/</link>
		<comments>http://www.sql-server-performance.com/2012/tsql-functions-sql-server-2012/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 06:34:46 +0000</pubDate>
		<dc:creator>Arshad Ali</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=2806</guid>
		<description><![CDATA[New Built-in Functions in SQL Server 2012 SQL Server 2012 (Code named SQL Server Denali) introduces 14 new built in functions in four different categories with one existing function (LOG) being modified to have an optional second base parameter: Category Function Name Conversion functions PARSE TRY_CONVERT TRY_PARSE Date and Time functions DATEFROMPARTS DATETIME2FROMPARTS DATETIMEFROMPARTS DATETIMEOFFSETFROMPARTS [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2012/tsql-functions-sql-server-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Ranges using T-SQL</title>
		<link>http://www.sql-server-performance.com/2011/building-range-using-t-sql/</link>
		<comments>http://www.sql-server-performance.com/2011/building-range-using-t-sql/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 06:26:12 +0000</pubDate>
		<dc:creator>Divya Agrawal Shah</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[Cross Join]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[Recursive Query]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?p=2679</guid>
		<description><![CDATA[We often use excel for any running repetitive calculations since it is a very convenient user friendly interface which allows us to just enter a formula in a cell and  simply  drag and drop the  formulas to generate a complete output. For example, I had a Products listing, with ID and Quantity for each product. [...]]]></description>
		<wfw:commentRss>http://www.sql-server-performance.com/2011/building-range-using-t-sql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
