﻿<?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 Articles tagged T-SQL, Stored Procedures</title><link>http://www.sqlservercentral.com/</link><description>Articles tagged T-SQL, Stored Procedures posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><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>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><item><title>How to Share Data Between Stored Procedures</title><description>Different ways of passing sets of data between stored procedures.</description><guid>http://www.sqlservercentral.com/redirect/articles/62313/</guid><pubDate>2008/04/08</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62313/</link></item><item><title>Designing High Performance Stored Procedures</title><description>Stored procedures can be an effective way to handle conflicting needs, but it&amp;#39;s not always so obvious how to write them so they both perform well and scale.</description><guid>http://www.sqlservercentral.com/redirect/articles/2838/</guid><pubDate>2008/01/30</pubDate><link>http://www.sqlservercentral.com/redirect/articles/2838/</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>Output Parameters</title><description>Regular columnist Robert Marda writes about the basics of using output parameters. If you&amp;#39;re not using output params we hope this article will get you started - they are a great way to return less data to the client, perfect if you need only a few values and not a recordset/resultset.

</description><guid>http://www.sqlservercentral.com/articles/Stored+Procedures/outputparameters/1200/</guid><pubDate>2007/10/26</pubDate><link>http://www.sqlservercentral.com/articles/Stored+Procedures/outputparameters/1200/</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>Nesting Stored Procedures</title><description>We&amp;#39;re pleased to announce that Robert will be writing for us each month - generally on stored procedures, but occasionally on a different topic. This article discusses how nesting stored procedures works and how to use @@NextLevel. Good reading! If there is a stored procedure topic you&amp;#39;d like to see covered, add a comment to the article or email us at articles@sqlservercentral.com


</description><guid>http://www.sqlservercentral.com/articles/Basic+Querying/nestingstoredprocedures/998/</guid><pubDate>2007/05/18</pubDate><link>http://www.sqlservercentral.com/articles/Basic+Querying/nestingstoredprocedures/998/</link></item><item><title>Sales Order Workshop Part IV</title><description>In the fourth installment of this series, Jacob Sebastian moves on to SQL Server 2005 and the new XML capabilities that make 
working with XML data easier than ever.
</description><guid>http://www.sqlservercentral.com/articles/Stored+Procedures/2912/</guid><pubDate>2007/04/05</pubDate><link>http://www.sqlservercentral.com/articles/Stored+Procedures/2912/</link></item><item><title>Sales Order Workshop Part III</title><description>In the previous articles, Jacob Sebastian looked at using XML to save a sales order with variable numbers of line items to a SQL Server
2000 database. In this part, he expands upon the processing to access that data from multiple nodes.

</description><guid>http://www.sqlservercentral.com/articles/Miscellaneous/2911/</guid><pubDate>2007/04/03</pubDate><link>http://www.sqlservercentral.com/articles/Miscellaneous/2911/</link></item><item><title>Sales Order Workshop Part II</title><description>In the first part of this series, Jacob Sebastion showed us how to use XML to save a sales order to the database with a variable 
amount of line items. In part 2, he continues looking at XML in SQL Server 2000 with some advanced XML processing.
</description><guid>http://www.sqlservercentral.com/articles/Miscellaneous/2909/</guid><pubDate>2007/03/29</pubDate><link>http://www.sqlservercentral.com/articles/Miscellaneous/2909/</link></item><item><title>Saving a Sales Order Part 1</title><description>How many times have you tried to save a sales order to your database? For many DBAs this is a common scenario and one of the challenges is the many round trips for the various line items. Jacob Sebastian brings us the first part of a four part series looking at how you can use XML to reduce the round trips in SQL Server 2000.
</description><guid>http://www.sqlservercentral.com/articles/Miscellaneous/2908/</guid><pubDate>2007/03/27</pubDate><link>http://www.sqlservercentral.com/articles/Miscellaneous/2908/</link></item><item><title>SQL Server Error Handling Workbench</title><description>Grant Fritchey steps into the workbench arena, with an example-fuelled examination of catching and gracefully handling errors in SQL 2000 and 2005, including worked examples of the new TRY..CATCH capabilities.</description><guid>http://www.sqlservercentral.com/redirect/articles/2883/</guid><pubDate>2007/03/06</pubDate><link>http://www.sqlservercentral.com/redirect/articles/2883/</link></item><item><title>Introduction to ADO - The Command Object</title><description>The third article in a four part series, this week Andy shows how to use the command object to work with stored procedure parameters.



</description><guid>http://www.sqlservercentral.com/articles/Stored+Procedures/introductiontoadothecommandobject/535/</guid><pubDate>2007/02/09</pubDate><link>http://www.sqlservercentral.com/articles/Stored+Procedures/introductiontoadothecommandobject/535/</link></item><item><title>Designing High Performance Stored Procedures</title><description>Stored procedures can be an effective way to handle conflicting needs, but it&amp;#39;s not always so obvious how to write them so they both perform well and scale.</description><guid>http://www.sqlservercentral.com/redirect/articles/2838/</guid><pubDate>2008/01/30</pubDate><link>http://www.sqlservercentral.com/redirect/articles/2838/</link></item><item><title>Implementing a T-SQL semaphore</title><description>SQL Server does a great job of handling concurrency &amp;amp; ensuring that users can make changes in multi-user systems without conflict. However there are times a  strict calling order is needed. </description><guid>http://www.sqlservercentral.com/articles/Miscellaneous/2649/</guid><pubDate>2006/10/17</pubDate><link>http://www.sqlservercentral.com/articles/Miscellaneous/2649/</link></item><item><title>Self Eliminated Parameters</title><description>Optional parameters are easily handled with NULL values in T-SQL, but there are cases where this doesn&amp;#39;t always work. Alex Grinberg brings us a new technique to allow your stored procedures to be structured to deal with this situation without dynamic SQL.
</description><guid>http://www.sqlservercentral.com/articles/Advanced+Querying/2638/</guid><pubDate>2006/10/09</pubDate><link>http://www.sqlservercentral.com/articles/Advanced+Querying/2638/</link></item><item><title>Adding In HTML Links</title><description>While the strength of SQL Server is not in string manipulation, it can be very handy when backing a web site to be able to automatically include links for some of your content. New author Grey Wilson brings us an easy technique to easily deliver results to developers with URLs embedded inside.
</description><guid>http://www.sqlservercentral.com/articles/Stored+Procedures/addinginhtmllinks/2518/</guid><pubDate>2006/08/08</pubDate><link>http://www.sqlservercentral.com/articles/Stored+Procedures/addinginhtmllinks/2518/</link></item><item><title>Attach and Detach..Again</title><description>Attaching and detaching databases is old hat these days right? Do you know how to reattach a database that has more than 16 files? Or do you know what happens if you try to reattach a database that had two log files but one is missing/deleted? And even if you know the answer to that - do you know how to fix it without restoring from backup? Maybe it&amp;#39;s not ALL old hat just yet!

</description><guid>http://www.sqlservercentral.com/articles/Administering/attachanddetachagain/656/</guid><pubDate>2006/06/23</pubDate><link>http://www.sqlservercentral.com/articles/Administering/attachanddetachagain/656/</link></item><item><title>Introduction to the ADO Connection Object</title><description>Part 1 of a 4 part series about ADO, this is a beginner level article designed to get you started using the ADO connection object. If you haven&amp;#39;t used ADO so far, why not see what it&amp;#39;s all about?

</description><guid>http://www.sqlservercentral.com/articles/Miscellaneous/introductiontotheadoconnectionobject/510/</guid><pubDate>2006/05/26</pubDate><link>http://www.sqlservercentral.com/articles/Miscellaneous/introductiontotheadoconnectionobject/510/</link></item><item><title>Stored Procedure vs Triggers</title><description>Performance tuning is an ongoing battle in SQL Server, but having a little knowledge up front when designing an application can greatly reduce the efforts. Do you know which performs better: stored procedures or triggers? There aren&amp;#39;t many places where the two are interchangeable, but knowing the impacts of each might change the way you build an application. Read about this analysis by Vijaya Kumar.


</description><guid>http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/storedprocedurevstriggers/1449/</guid><pubDate>2006/03/31</pubDate><link>http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/storedprocedurevstriggers/1449/</link></item><item><title>The Zero to N Parameter Problem</title><description>T-SQL has some well known limitations when working with parameters for a stored procedure, not the least of which is a variable number of parameters. While there are some solutions, they can be cumbersome to work with. Sloan Holliday brings us a creative solution using XML that can solve many issues.
</description><guid>http://www.sqlservercentral.com/articles/Stored+Procedures/thezerotonparameterproblem/2283/</guid><pubDate>2006/02/28</pubDate><link>http://www.sqlservercentral.com/articles/Stored+Procedures/thezerotonparameterproblem/2283/</link></item><item><title>How to Build Dynamic Stored Procedures</title><description>Robert is our expert on dynamic sql. This week he offers some good hints for planning the contruction of a proc that will use dynamic sql. He also adds some suggestions on how to format the code so that when you return to it later, you can figure out what you were doing!


</description><guid>http://www.sqlservercentral.com/articles/Miscellaneous/howtobuilddynamicstoredprocedures/968/</guid><pubDate>2005/12/16</pubDate><link>http://www.sqlservercentral.com/articles/Miscellaneous/howtobuilddynamicstoredprocedures/968/</link></item><item><title>Logins, Users, and Roles - Getting Started</title><description>Do you know the difference between a login and a user? What&amp;#39;s the best way to add them; Enterprise Manager, T-SQL, or SQL-DMO? In this beginner level article Andy demonstrates how to use all three methods to add logins and users and offers his view of which is the best technique.


</description><guid>http://www.sqlservercentral.com/articles/Administering/loginsusersandrolesgettingstarted/514/</guid><pubDate>2005/09/30</pubDate><link>http://www.sqlservercentral.com/articles/Administering/loginsusersandrolesgettingstarted/514/</link></item><item><title>Dynamic SQL or Stored Procedure</title><description>We&amp;#39;ve had a lot of coverage of dynamic sql (including another great one from Robert Marda later this week) but this one is a little different. Done in a question/answer format, Andy tries to explain to junior developers why dynamic sql is to be avoided, how to do so, what to do when you can&amp;#39;t.


</description><guid>http://www.sqlservercentral.com/articles/Performance+Tuning/dynamicsqlorstoredprocedure/969/</guid><pubDate>2005/08/26</pubDate><link>http://www.sqlservercentral.com/articles/Performance+Tuning/dynamicsqlorstoredprocedure/969/</link></item><item><title>Data Dictionary from within SQL Server 2000</title><description>Mindy explores the metadata stored in SQL 2000 to show you how to produce a simple and useful data dictionary!

</description><guid>http://www.sqlservercentral.com/articles/Installation/datadictionaryfromwithinsqlserver2000/607/</guid><pubDate>2005/02/04</pubDate><link>http://www.sqlservercentral.com/articles/Installation/datadictionaryfromwithinsqlserver2000/607/</link></item><item><title>Stored Procedures and Caching</title><description>One of the biggest performance gains built into SQL Server is the stored procedure. In this article by Brian Kelley, he shows you how to fully utilize, debug and monitor the caching of such objects.

</description><guid>http://www.sqlservercentral.com/articles/Administering/procedurecache/591/</guid><pubDate>2004/11/19</pubDate><link>http://www.sqlservercentral.com/articles/Administering/procedurecache/591/</link></item><item><title>Customized Output Labels</title><description>SQL Server has some great solutions for writing reports easily, ensuring quick service for your customers. However many of the quick ways of generating reports from the database include the column headers in the results. And often clients who expect customized work want to see labels that are more familiar to them. Leo Peysakhovich has developed a way that allows him to easily return custom labels from his stored procedures.
</description><guid>http://www.sqlservercentral.com/articles/Stored+Procedures/customizedoutputlabels/1532/</guid><pubDate>2004/10/14</pubDate><link>http://www.sqlservercentral.com/articles/Stored+Procedures/customizedoutputlabels/1532/</link></item><item><title>Stored Procedure vs Triggers</title><description>Performance tuning is an ongoing battle in SQL Server, but having a little knowledge up front when designing an application can greatly reduce the efforts. Do you know which performs better: stored procedures or triggers? There aren&amp;#39;t many places where the two are interchangeable, but knowing the impacts of each might change the way you build an application. Read about this analysis by Vijaya Kumar.


</description><guid>http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/storedprocedurevstriggers/1449/</guid><pubDate>2006/03/31</pubDate><link>http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/storedprocedurevstriggers/1449/</link></item><item><title>Be Prepared - Part 2</title><description>Error handling in SQL Server 2000 is tricky. And it isn&amp;#39;t the most robust system in the world. Stefan Popovski started a series on error handling using @@error and xact_abort. Here&amp;#39;s the second installment of this series looking at error handling in nested stored procedures.

</description><guid>http://www.sqlservercentral.com/articles/Advanced+Querying/bepreparedpart2/1386/</guid><pubDate>2004/06/08</pubDate><link>http://www.sqlservercentral.com/articles/Advanced+Querying/bepreparedpart2/1386/</link></item></channel></rss>