<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: where clause condtion as a variable (SSIS 2005)</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/where-clause-condtion-as-a-vairable/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/where-clause-condtion-as-a-vairable/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 05:04:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: kccrosser</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/where-clause-condtion-as-a-vairable/#comment-73913</link>
		<dc:creator>kccrosser</dc:creator>
		<pubDate>Wed, 17 Feb 2010 22:49:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-73913</guid>
		<description><![CDATA[If there are a finite number of where clause conditions, the simplest method is to use a control variable to choose the condition of interest at run time.  Note that this is NOT necessarily an efficient way to run the query, but is very easy to implement.

...
where 
   (conditionselector = 1 and {this condition clause})
or 
   (conditionselector = 2 and {this condition clause})
or
...]]></description>
		<content:encoded><![CDATA[<p>If there are a finite number of where clause conditions, the simplest method is to use a control variable to choose the condition of interest at run time.  Note that this is NOT necessarily an efficient way to run the query, but is very easy to implement.</p>
<p>&#8230;<br />
where<br />
   (conditionselector = 1 and {this condition clause})<br />
or<br />
   (conditionselector = 2 and {this condition clause})<br />
or<br />
&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.036 seconds using memcached
Object Caching 266/272 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-18 05:07:36 -->