﻿<?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 Dynamic SQL</title><link>http://www.sqlservercentral.com/</link><description>Articles tagged Dynamic SQL posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>Basics of XML and SQL Server, Part 3: Transform and Shred XML in SSIS</title><description><![CDATA[<p>This SSIS package performs multiple XSL transformations on an XML document, then shreds the transformed document and inserts its data into a SQL Server table.</p>]]></description><guid>http://www.sqlservercentral.com/articles/XML/87637/</guid><pubDate>Wed, 21 Mar 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/XML/87637/</link></item><item><title>Use Dynamic SQL to Improve Query Performance</title><description><![CDATA[<p>This article by Jonathan Roberts demonstrates how to use dynamic SQL and overcome its downsides.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Dynamic+SQL/70109/</guid><pubDate>Fri, 17 Feb 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Dynamic+SQL/70109/</link></item><item><title>Methods For Converting a Stored Procedure</title><description><![CDATA[<p>An interesting use of T-SQL to run a stored procedure as part of a SELECT statement to get a result set to be used and combined with other tables. From Eli Leiba, learn how you can build a stored procedure into your queries.</p>]]></description><guid>http://www.sqlservercentral.com/articles/T-SQL/68233/</guid><pubDate>Fri, 08 Apr 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/T-SQL/68233/</link></item><item><title>Using Dynamic SQL in Stored Procedures</title><description><![CDATA[<p>Dynamic SQL allows stored procedures to “write” or dynamically generate their SQL statements. The most common use case for dynamic SQL is stored procedures with optional parameters in the WHERE clause. These are typically called from reports or screens that have multiple, optional search criteria. This article describes how to write these types of stored procedures so they execute well and resist SQL injection attacks. </p><!-- disturbing m1(DBA Bundle) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m1&utm_campaign=sqldbabundle&utm_term=rss-20018"><img src="http://assets.red-gate.com/external/SSC/top5_68x68.gif" alt="sqldbabundle"></td>   <td><strong>‘Disturbing Development’</strong><br />Grant Fritchey & the DBA Team present the latest installment of the Top 5 hard-earned lessons of a DBA –  <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m1&utm_campaign=sqldbabundle&utm_term=rss-20018">read it now</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/redirect/articles/72679/</guid><pubDate>Tue, 22 Mar 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/72679/</link></item><item><title>Using Certificates to Sign Stored Procedures</title><description><![CDATA[<p>How to sign stored procedures with certificates, this is useful if the procedures use dynamic SQL.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Certificates/70170/</guid><pubDate>Mon, 21 Jun 2010 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Certificates/70170/</link></item><item><title>Use Dynamic SQL to Improve Query Performance</title><description><![CDATA[<p>This article by Jonathan Roberts demonstrates how to use dynamic SQL and overcome its downsides.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Dynamic+SQL/70109/</guid><pubDate>Fri, 17 Feb 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Dynamic+SQL/70109/</link></item><item><title>Methods For Converting a Stored Procedure</title><description><![CDATA[<p>An interesting use of T-SQL to run a stored procedure as part of a SELECT statement to get a result set to be used and combined with other tables. From Eli Leiba, learn how you can build a stored procedure into your queries.</p>]]></description><guid>http://www.sqlservercentral.com/articles/T-SQL/68233/</guid><pubDate>Fri, 08 Apr 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/T-SQL/68233/</link></item><item><title>How To Avoid Msg 106</title><description><![CDATA[<p>When you have too many tables in a view, what can you do? New author Henrik Staun Poulsen brings us a solution that we </p>]]></description><guid>http://www.sqlservercentral.com/articles/Dynamic+SQL/65154/</guid><pubDate>Tue, 09 Dec 2008 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Dynamic+SQL/65154/</link></item><item><title>Finding Values With Numerous Columns</title><description><![CDATA[<p>Techniques for finding values in a denormalized table.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Search/64877/</guid><pubDate>Tue, 02 Dec 2008 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Search/64877/</link></item><item><title>Using the CASE expression instead of dynamic SQL</title><description><![CDATA[<p>I have a lot of SQL update queries where I need to make IF/ELSE types of decisions. I am using a cursor in some cases but looping through thousands of rows for update takes a long time. I also use some dynamic SQL to handle some query parameter decision making. Is there a better alternative?</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/62575/</guid><pubDate>Thu, 20 Mar 2008 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62575/</link></item><item><title>The curse and blessings of dynamic SQL</title><description><![CDATA[<p>How you use dynamic SQL, when you should - and when you should not.  </p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/62310/</guid><pubDate>Tue, 18 Mar 2008 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/62310/</link></item></channel></rss>