﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0"><channel><title>SQLServerCentral.com Content tagged T-SQL</title><link>http://www.sqlservercentral.com/</link><description>Content tagged T-SQL posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>Proc to Rename a file</title><description>A simple way to rename a file from within a T-SQL Script, primarily designed to add a date-time stamp. Works in 2000 and 2005.</description><guid>http://www.sqlservercentral.com/scripts/Miscellaneous/63094/</guid><pubDate>2008/05/13</pubDate><link>http://www.sqlservercentral.com/scripts/Miscellaneous/63094/</link></item><item><title>Eliminating Cursors</title><description>T-SQL does some things wonderfully, but cursors are the bane of the language, often causing performance issues. Changing your queries around to remove cursors can be tricky and new author Kamran Ali brings us one technique he has used to dramatically improve performance.


</description><guid>http://www.sqlservercentral.com/articles/SQL+Puzzles/eliminatingcursors/2223/</guid><pubDate>2006/07/21</pubDate><link>http://www.sqlservercentral.com/articles/SQL+Puzzles/eliminatingcursors/2223/</link></item><item><title>A Sudoku solution with set based T-SQL utilizing binary operators.</title><description>A Sudoku solution with set based T-SQL approach utilizing binary values and operators, to ease the algorithm.</description><guid>http://www.sqlservercentral.com/scripts/T-SQL/62978/</guid><pubDate>2008/04/30</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/62978/</link></item><item><title>Calculate Easter Date</title><description>A function to calculate the date for Easter Sunday for a given year</description><guid>http://www.sqlservercentral.com/scripts/T-SQL/62633/</guid><pubDate>2008/03/24</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/62633/</link></item><item><title>Is a Temporary Table Really Necessary?</title><description>In this article Randy Dyness shows you how to avoid temp tables whenever to maximize the performance of your queries.


</description><guid>http://www.sqlservercentral.com/articles/Performance+Tuning/temptabl/662/</guid><pubDate>2006/06/02</pubDate><link>http://www.sqlservercentral.com/articles/Performance+Tuning/temptabl/662/</link></item><item><title>Calculate Age</title><description>This a function by which you can calculate the age of something.</description><guid>http://www.sqlservercentral.com/scripts/T-SQL/62794/</guid><pubDate>2008/04/10</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/62794/</link></item><item><title>Passing Parameters as (almost) 1, 2, and 3 Dimensional Arrays</title><description>It's a well known fact that there's no such thing as a true &amp;quot;array&amp;quot; in SQL Server and that you can't pass a table as a parameter... but you can get a lot closer than you think.</description><guid>http://www.sqlservercentral.com/articles/T-SQL/63003/</guid><pubDate>2008/05/02</pubDate><link>http://www.sqlservercentral.com/articles/T-SQL/63003/</link></item><item><title>URLEncode</title><description>Here is a short UDF to URL encode a string. 

Requires a numbers table.</description><guid>http://www.sqlservercentral.com/scripts/URL/62679/</guid><pubDate>2008/03/27</pubDate><link>http://www.sqlservercentral.com/scripts/URL/62679/</link></item><item><title>Returning Data from Stored Proc</title><guid>http://www.sqlservercentral.com/questions/T-SQL/62803/</guid><pubDate>2008/04/10</pubDate><link>http://www.sqlservercentral.com/questions/T-SQL/62803/</link></item><item><title>Row Value Constructor in SQL Server 2008 </title><description>This article illustrates different methods to insert data into a table, including the new Row Value Constructor, which simplifies the data insertion.</description><guid>http://www.sqlservercentral.com/redirect/articles/63015/</guid><pubDate>2008/05/16</pubDate><link>http://www.sqlservercentral.com/redirect/articles/63015/</link></item><item><title>Everybody Reports to Somebody</title><description>One of the very common questions posted about T-SQL is how to traverse a hierarchy in a set based manner. New author Craig Hatley brings us his techniques for handling the common scenario of employees and managers.
</description><guid>http://www.sqlservercentral.com/articles/Advanced+Querying/3001/</guid><pubDate>2008/05/16</pubDate><link>http://www.sqlservercentral.com/articles/Advanced+Querying/3001/</link></item><item><title>Query</title><guid>http://www.sqlservercentral.com/questions/T-SQL/62843/</guid><pubDate>2008/05/14</pubDate><link>http://www.sqlservercentral.com/questions/T-SQL/62843/</link></item><item><title>Delete Duplicates</title><guid>http://www.sqlservercentral.com/questions/T-SQL/62798/</guid><pubDate>2008/05/13</pubDate><link>http://www.sqlservercentral.com/questions/T-SQL/62798/</link></item><item><title>PIVOT working incorrectly?</title><description>One developer's journey through PIVOTing incorrectly.</description><guid>http://www.sqlservercentral.com/articles/pivot/62808/</guid><pubDate>2008/05/13</pubDate><link>http://www.sqlservercentral.com/articles/pivot/62808/</link></item><item><title>Bit data</title><guid>http://www.sqlservercentral.com/questions/T-SQL/62815/</guid><pubDate>2008/05/07</pubDate><link>http://www.sqlservercentral.com/questions/T-SQL/62815/</link></item><item><title>Simplify SQL Server 2005 queries with a Dates table</title><description>Learn what a Dates table is and how to create one, and then try it out for yourself</description><guid>http://www.sqlservercentral.com/redirect/articles/62914/</guid><pubDate>2008/05/06</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62914/</link></item><item><title>Implicit Conversions</title><guid>http://www.sqlservercentral.com/questions/T-SQL/62806/</guid><pubDate>2008/05/05</pubDate><link>http://www.sqlservercentral.com/questions/T-SQL/62806/</link></item><item><title>Passing a Table to A Stored Procedure</title><description>In the first article of a new series on T-SQL tips, Jacob Sebastian brings us a very useful technique. How to pass a table to a stored procedure so some set of rows can be operated on using some business logic.

</description><guid>http://www.sqlservercentral.com/articles/Stored+Procedures/2977/</guid><pubDate>2008/05/02</pubDate><link>http://www.sqlservercentral.com/articles/Stored+Procedures/2977/</link></item><item><title>The T-SQL Quiz</title><description>Longtime SQL Server DBA and author Grant Fritchey decided to quiz his developers on how to perform some simple functions in T-SQL. Read about his results and see how you might do in taking his quiz.
</description><guid>http://www.sqlservercentral.com/articles/SQL+Puzzles/2973/</guid><pubDate>2008/05/01</pubDate><link>http://www.sqlservercentral.com/articles/SQL+Puzzles/2973/</link></item><item><title>A Function Gotcha with the Use of an Asterisk</title><description>This article describes and demonstrates the problem of using asterisk to select all fields from a table within a table function.</description><guid>http://www.sqlservercentral.com/articles/UDF/62730/</guid><pubDate>2008/04/30</pubDate><link>http://www.sqlservercentral.com/articles/UDF/62730/</link></item><item><title>TSQL Spam-killer</title><description>In which Phil takes a break from a tedious bit of routine coding to build a Spam Filter in SQL.</description><guid>http://www.sqlservercentral.com/redirect/articles/62837/</guid><pubDate>2008/04/25</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62837/</link></item><item><title>Converting Hexadecimal String Values to Alpha (ASCII) Strings</title><description>In an interesting exercise in data conversion, Stephen Lasham brings us a nice article on basic manipulations.
</description><guid>http://www.sqlservercentral.com/articles/Advanced+Querying/2969/</guid><pubDate>2008/04/25</pubDate><link>http://www.sqlservercentral.com/articles/Advanced+Querying/2969/</link></item><item><title>Floor Function</title><guid>http://www.sqlservercentral.com/questions/T-SQL/62758/</guid><pubDate>2008/04/25</pubDate><link>http://www.sqlservercentral.com/questions/T-SQL/62758/</link></item><item><title>UPSERT Functionality in SQL Server 2008</title><description>This article illustrates the functionality of UPSERT via the MERGE command in SQL Server 2008.</description><guid>http://www.sqlservercentral.com/redirect/articles/62835/</guid><pubDate>2008/04/24</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62835/</link></item><item><title>Reading the SQL Server log files using T-SQL</title><description>One of the issues I have is that the SQL Server Error Log is quite large and it is not always easy to view the contents with the Log File Viewer.  In a previous tip &amp;quot;Simple way to find errors in SQL Server error log&amp;quot; you discussed a method of searching the error log using VBScript.  Are there any other easy ways to search and find errors in the error log files?</description><guid>http://www.sqlservercentral.com/redirect/articles/62839/</guid><pubDate>2008/04/23</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62839/</link></item><item><title>SQL String User Function Workbench: part 1</title><description>Robyn and Phil go back to basics and hammer out some basic String-handling User Functions in TSQL, based on Python examples. Plenty of sample code, and TSQL programming tricks.</description><guid>http://www.sqlservercentral.com/redirect/articles/62836/</guid><pubDate>2008/04/22</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62836/</link></item><item><title>Removing Duplicate Records</title><description>How to remove duplicate records from a table.</description><guid>http://www.sqlservercentral.com/scripts/T-SQL/62352/</guid><pubDate>2008/04/18</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/62352/</link></item><item><title>Discover Unique Columns</title><description>Tool to automatically query combinations of columns in your table to determine candidate for unique key.</description><guid>http://www.sqlservercentral.com/scripts/T-SQL/62086/</guid><pubDate>2008/04/16</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/62086/</link></item><item><title>T-SQL Query</title><guid>http://www.sqlservercentral.com/questions/T-SQL/62594/</guid><pubDate>2008/04/15</pubDate><link>http://www.sqlservercentral.com/questions/T-SQL/62594/</link></item><item><title>Giving Permissions through Stored Procedures</title><description>QL 2005 adds two new methods – signing with certificates and impersonation with EXECUTE AS – that can manage cases where the classic method of ownership chaining fails. I explain the two new methods, as well as the old one, and warns you about the pitfalls.</description><guid>http://www.sqlservercentral.com/redirect/articles/62314/</guid><pubDate>2008/04/15</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62314/</link></item></channel></rss>