<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Sudeep's Domain</title><link>http://rajsudeep.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SudeepsDomain" /><description>Knowledge sharing....
More you share more you learn</description><language>en</language><managingEditor>noreply@blogger.com (Sudeep Raj)</managingEditor><lastBuildDate>Wed, 08 Feb 2012 02:27:02 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">26</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info uri="sudeepsdomain" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>SudeepsDomain</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FSudeepsDomain" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FSudeepsDomain" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/SudeepsDomain" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FSudeepsDomain" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FSudeepsDomain" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FSudeepsDomain" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FSudeepsDomain" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:browserFriendly>SSIS</feedburner:browserFriendly><item><title>SSIS - Script Task, when to use them? - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/YAKxczxuba0/ssis-script-task-when-to-use-them.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Sun, 25 Sep 2011 11:03:38 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-5596351373701119937</guid><description>&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2011/09/26/ssis-script-task-when-to-use-them.aspx"&gt;SSIS - Script Task, when to use them? - Sudeep's Domain&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Read on to know when you need to use Script Task or Script Component.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-5596351373701119937?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=YAKxczxuba0:kejlBO4fpDM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=YAKxczxuba0:kejlBO4fpDM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=YAKxczxuba0:kejlBO4fpDM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=YAKxczxuba0:kejlBO4fpDM:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=YAKxczxuba0:kejlBO4fpDM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=YAKxczxuba0:kejlBO4fpDM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/YAKxczxuba0" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-25T23:33:38.962+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2011/09/ssis-script-task-when-to-use-them.html</feedburner:origLink></item><item><title>SSIS - Reading object variable in Script task - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/XYphArgDAhA/ssis-reading-object-variable-in-script.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Thu, 09 Jun 2011 11:14:39 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-8010902263150693567</guid><description>&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2011/06/09/ssis-reading-object-variable-in-script-task.aspx"&gt;SSIS - Reading object variable in Script task - Sudeep's Domain&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-8010902263150693567?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=XYphArgDAhA:PqAQsKz5PTk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=XYphArgDAhA:PqAQsKz5PTk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=XYphArgDAhA:PqAQsKz5PTk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=XYphArgDAhA:PqAQsKz5PTk:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=XYphArgDAhA:PqAQsKz5PTk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=XYphArgDAhA:PqAQsKz5PTk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/XYphArgDAhA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-09T23:44:39.326+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2011/06/ssis-reading-object-variable-in-script.html</feedburner:origLink></item><item><title>BI Quiz - Select distinct files from a list of files in a folder - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/HuS6pTxr-3w/bi-quiz-select-distinct-files-from-list.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Thu, 02 Jun 2011 22:27:10 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-4254570238851628805</guid><description>&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2011/06/02/bi-quiz-select-distinct-files-from-a-list-of-files-in-a-folder.aspx"&gt;T&lt;/a&gt;est your SSIS knowledge by solving this scenario. Gain a chance to win goodies and know SSIS..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-4254570238851628805?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=HuS6pTxr-3w:uaoJpAl63F8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=HuS6pTxr-3w:uaoJpAl63F8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=HuS6pTxr-3w:uaoJpAl63F8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=HuS6pTxr-3w:uaoJpAl63F8:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=HuS6pTxr-3w:uaoJpAl63F8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=HuS6pTxr-3w:uaoJpAl63F8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/HuS6pTxr-3w" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-03T10:57:10.765+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2011/06/bi-quiz-select-distinct-files-from-list.html</feedburner:origLink></item><item><title>Links for 2011-05-09 [Digg]</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/EeAYDZLWnEY/
		</link><pubDate>Tue, 10 May 2011 00:00:00 PDT</pubDate><guid isPermaLink="false">
			http://digg.com/
		#2011-05-09</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/ssis_process_files_in_sequence_sudeep_s_domain"&gt;SSIS -&amp;#128;&amp;#147; Process files in Sequence - Sudeep's Domain&lt;/a&gt;&lt;br/&gt;
How to process files in a sequence that are stored in a folder and stop in case a file is missing in the sequence.&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/EeAYDZLWnEY" height="1" width="1"/&gt;</description><feedburner:origLink>http://digg.com/
		#2011-05-09</feedburner:origLink></item><item><title>SSIS – Process files in Sequence - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/F_jmMbax-qQ/ssis-process-files-in-sequence-sudeeps.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Mon, 09 May 2011 17:32:30 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-6093108328756419565</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;I got a very interesting scenario in &lt;a href="http://beyondrelational.com/controlpanel/blogs/posteditor.aspx/beyondrelational.com/ask/sudeep/default.aspx" style="color: #3366cc; text-decoration: none;" target="_blank"&gt;Ask Sudeep&lt;/a&gt; section of &lt;a href="http://beyondrelational.com/" style="color: #3366cc; text-decoration: none;" target="_blank"&gt;BeyondRelational.com&lt;/a&gt;. Let me share the scenario first and then will explain how to go about it.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;span style="color: #ff8040; font-size: x-small;"&gt;&lt;strong&gt;Scenario:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;There is a folder which contains a number of files. The file name follows the following naming convention &lt;alphanumeric&gt;.&lt;number&gt; Alphanumeric could be any valid alphanumeric characters and the Number part would have just numeric values and both would be separated by a period [.]. Examples of file name file1Name.1, file1Name.2, file2Name.5 etc. Now the requirement says that for a given group of Alphanumeric part which are same we need to start processing the files from the file having the minimum numeric part and keep on processing the file till we get the numeric part incrementing by one for the files. Then move to the next set of files with another Alphanumeric part. Better to see an example, will give a clear picture.&lt;/number&gt;&lt;/alphanumeric&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;List of files in the folder:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;a.1&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;a.2&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;a.4&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;a.5&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;b.10&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;b.11&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;b.15&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: x-small;"&gt;b.16&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;There can be 2 sets of files based on the alphanumeric part once with a and the other with b. From the above list we need to process just the following files:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;a.1&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;a.2&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;b.10&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;b.11&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;As there is a break in the sequence for the file group “a” as a.3 is missing and similarly b.12 is missing so no files with larger numeric part will be processed.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2011/05/10/ssis-process-files-in-sequence.aspx"&gt;Read on....&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-6093108328756419565?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=F_jmMbax-qQ:xUid4RS1-sE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=F_jmMbax-qQ:xUid4RS1-sE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=F_jmMbax-qQ:xUid4RS1-sE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=F_jmMbax-qQ:xUid4RS1-sE:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=F_jmMbax-qQ:xUid4RS1-sE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=F_jmMbax-qQ:xUid4RS1-sE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/F_jmMbax-qQ" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T06:02:30.554+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2011/05/ssis-process-files-in-sequence-sudeeps.html</feedburner:origLink></item><item><title>SSIS - Script Component, add missing column or ignore extra columns</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/tuzszN07tBU/ssis-script-component-add-missing.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Tue, 08 Mar 2011 13:15:06 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-6993117915360720140</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;
Today I got a query asking me if we can have a script component which reads data from a text file which is supposed to have 5 input columns. However the data that they receive has at time extra columns or less columns for certain records. So the question arises how do we go about this.&lt;br /&gt;
Input:&lt;br /&gt;
&lt;div class="syntaxhighlighter " id="highlighter_826364" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(231, 229, 220) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 1em !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 1em !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 1px !important; padding-left: 1px !important; padding-right: 1px !important; padding-top: 1px !important; position: relative !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 1533px;"&gt;
&lt;div class="lines" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;div class="line alt1" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;1.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;Col1,Col2,Col3,Col4,Col5&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line alt2" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;2.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;1,2,3,4,5&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line alt1" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;3.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;1,2,3,4,5,6,7,&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line alt2" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;4.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;1,2,3&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
Output:&lt;br /&gt;
&lt;div class="syntaxhighlighter " id="highlighter_908913" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(231, 229, 220) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 1em !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 1em !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 1px !important; padding-left: 1px !important; padding-right: 1px !important; padding-top: 1px !important; position: relative !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 1533px;"&gt;
&lt;div class="lines" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;div class="line alt1" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;1.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;Col4&amp;nbsp;&amp;nbsp;&amp;nbsp; Col3&amp;nbsp;&amp;nbsp;&amp;nbsp; Col2&amp;nbsp;&amp;nbsp;&amp;nbsp; Col1&amp;nbsp;&amp;nbsp;&amp;nbsp; Col&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line alt2" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;2.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;5&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line alt1" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;3.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;5&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="line alt2" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;
&lt;code class="number" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(92, 92, 92) !important; display: block !important; float: left !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0.3em !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; width: 3em !important;"&gt;4.&lt;/code&gt;&lt;span class="content" style="background-attachment: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-left-style: solid !important; border-left-width: 3px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 3.3em !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;span class="block" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-origin: initial !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; display: block !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; text-indent: -1.5em !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;&lt;code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; display: inline !important; float: none !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;NULL&amp;nbsp;&amp;nbsp;&amp;nbsp; NULL&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
There are 3 ways that come to my mind straight away.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Script Component&lt;/li&gt;
&lt;li&gt;Flat file source which reads all data into one column and then splits them based on index of the comma in a derived column&lt;/li&gt;
&lt;li&gt;Flat file source with delimited settings to read just 5 columns.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2011/03/09/ssis-script-component-add-missing-column-or-ignore-extra-columns.aspx"&gt;READ ON&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-6993117915360720140?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=tuzszN07tBU:T954KEADX1A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=tuzszN07tBU:T954KEADX1A:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=tuzszN07tBU:T954KEADX1A:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=tuzszN07tBU:T954KEADX1A:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=tuzszN07tBU:T954KEADX1A:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=tuzszN07tBU:T954KEADX1A:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/tuzszN07tBU" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T02:45:06.967+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2011/03/ssis-script-component-add-missing.html</feedburner:origLink></item><item><title>SSIS - Upload data to Oracle using SQL Loader - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/13Gk1RvgsXE/ssis-upload-data-to-oracle-using-sql.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Tue, 22 Feb 2011 12:49:19 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-8895337243170904627</guid><description>&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2011/02/23/ssis-upload-data-to-oracle-using-sql-loader.aspx"&gt;SSIS - Upload data to Oracle using SQL Loader - Sudeep's Domain&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-8895337243170904627?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=13Gk1RvgsXE:JWIIITxdllo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=13Gk1RvgsXE:JWIIITxdllo:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=13Gk1RvgsXE:JWIIITxdllo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=13Gk1RvgsXE:JWIIITxdllo:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=13Gk1RvgsXE:JWIIITxdllo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=13Gk1RvgsXE:JWIIITxdllo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/13Gk1RvgsXE" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-23T02:19:19.958+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2011/02/ssis-upload-data-to-oracle-using-sql.html</feedburner:origLink></item><item><title>Links for 2010-11-23 [Digg]</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/LH3nPPnOvdA/
		</link><pubDate>Wed, 24 Nov 2010 00:00:00 PST</pubDate><guid isPermaLink="false">
			http://digg.com/
		#2010-11-23</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/ssis_expression_to_get_file_name_from_file_path_sudeep_s_domain"&gt;SSIS - Expression to get File Name from File Path - Sudeep's Domain&lt;/a&gt;&lt;br/&gt;
Scenario: How to extract the file name from a file path where the number of sub folders or name of folder is not fixed. In simple terms you do not know the position where the file name starts.

Typical example: You have a foreach loop set to traverse sub folders and you set the retrieve file name to &amp;quot;fully qualified&amp;quot; and in parameter mapping you map this to a string variable strFilePath. You use this variable to set up the connection string for may be a flat file source(will not be discussing that). Now lets say you need to retrieve the file path for logging purpose or sending a mail. How do we do this??&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/LH3nPPnOvdA" height="1" width="1"/&gt;</description><feedburner:origLink>http://digg.com/
		#2010-11-23</feedburner:origLink></item><item><title>SSIS - Script Component, Split single row to multiple rows - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/ClvxnogZLmQ/ssis-script-component-split-single-row.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Tue, 23 Nov 2010 15:39:46 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-8165306103443213162</guid><description>&lt;div&gt;&lt;b&gt;Scenario:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;We have a text file and we need to read each row and the output would have multiple rows per row in the input file.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Input File:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;"201001","1;3"&lt;/div&gt;&lt;div&gt;"201002","1;2;3;4"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Expected output:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2010-01-01  01&lt;/div&gt;&lt;div&gt;2010-01-03  03&lt;/div&gt;&lt;div&gt;2010-02-01  01&lt;/div&gt;&lt;div&gt;2010-02-02  02&lt;/div&gt;&lt;div&gt;2010-02-03  03&lt;/div&gt;&lt;div&gt;2010-02-04  04&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-8165306103443213162?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=ClvxnogZLmQ:UQ4uleP64nE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=ClvxnogZLmQ:UQ4uleP64nE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=ClvxnogZLmQ:UQ4uleP64nE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=ClvxnogZLmQ:UQ4uleP64nE:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=ClvxnogZLmQ:UQ4uleP64nE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=ClvxnogZLmQ:UQ4uleP64nE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/ClvxnogZLmQ" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-24T05:09:46.940+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/11/ssis-script-component-split-single-row.html</feedburner:origLink></item><item><title>SSIS - Expression to get File Name from File Path - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/4ZtMhzjMEOs/ssis-expression-to-get-file-name-from.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Mon, 22 Nov 2010 16:09:09 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-6778539053090280485</guid><description>&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 13px; font-family: Arial, Helvetica; color: rgb(51, 51, 51); "&gt;&lt;p&gt;&lt;span &gt;&lt;b&gt;&lt;span  &gt;Scenario:&lt;/span&gt;&lt;/b&gt; How to extract the file name from a file path where the number of sub folders or name of folder is not fixed. In simple terms you do not know the position where the file name starts.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span &gt;&lt;b&gt;&lt;span  &gt;Typical example:&lt;/span&gt; &lt;/b&gt;You have a foreach loop set to traverse sub folders and you set the retrieve file name to "fully qualified" and in parameter mapping you map this to a string variable &lt;span style="background-color: rgb(75, 172, 198); "&gt;strFilePath&lt;/span&gt;. You use this variable to set up the connection string for may be a flat file source(will not be discussing that). Now lets say you need to retrieve the file path for logging purpose or sending a mail. How do we do this??&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-6778539053090280485?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=4ZtMhzjMEOs:QlSz8XM9ovc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=4ZtMhzjMEOs:QlSz8XM9ovc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=4ZtMhzjMEOs:QlSz8XM9ovc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=4ZtMhzjMEOs:QlSz8XM9ovc:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=4ZtMhzjMEOs:QlSz8XM9ovc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=4ZtMhzjMEOs:QlSz8XM9ovc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/4ZtMhzjMEOs" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-23T05:39:09.106+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/11/ssis-expression-to-get-file-name-from.html</feedburner:origLink></item><item><title>Links for 2010-10-02 [Digg]</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/KFfqumk3WPk/
		</link><pubDate>Sun, 03 Oct 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">
			http://digg.com/
		#2010-10-02</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/ssis_script_component_as_source_ado_net_sudeep_s_domain"&gt;SSIS - Script Component as Source ADO.NET - Sudeep's Domain&lt;/a&gt;&lt;br/&gt;
This blog talks about ETL scenarios and concepts of SSIS a part of MSBI using SQL Server 2005 and SQL Server 2008&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/KFfqumk3WPk" height="1" width="1"/&gt;</description><feedburner:origLink>http://digg.com/
		#2010-10-02</feedburner:origLink></item><item><title>SSIS - Script Component as Source ADO.NET - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/TEjnM3JXmaA/ssis-script-component-as-source-adonet.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Sat, 02 Oct 2010 13:55:41 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-6996362305909908947</guid><description>&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial, Helvetica; font-size: 13px; "&gt;How do we use Script Component as the source making use of ADO.NET connection that has been added to the package.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-6996362305909908947?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=TEjnM3JXmaA:3hXI7TQl2f8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=TEjnM3JXmaA:3hXI7TQl2f8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=TEjnM3JXmaA:3hXI7TQl2f8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=TEjnM3JXmaA:3hXI7TQl2f8:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=TEjnM3JXmaA:3hXI7TQl2f8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=TEjnM3JXmaA:3hXI7TQl2f8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/TEjnM3JXmaA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-03T02:25:41.936+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/10/ssis-script-component-as-source-adonet.html</feedburner:origLink></item><item><title>Links for 2010-09-28 [Digg]</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/ZVLSDy_tL-w/
		</link><pubDate>Wed, 29 Sep 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">
			http://digg.com/
		#2010-09-28</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/ssis_dynamically_set_file_mask_filespec_sudeep_s_domain"&gt;SSIS&amp;acirc;&amp;#128;&amp;#147;Dynamically set File Mask : FileSpec - Sudeep's Domain&lt;/a&gt;&lt;br/&gt;
This blog talks about ETL scenarios and concepts of SSIS a part of MSBI using SQL Server 2005 and SQL Server 2008&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/ZVLSDy_tL-w" height="1" width="1"/&gt;</description><feedburner:origLink>http://digg.com/
		#2010-09-28</feedburner:origLink></item><item><title>SSIS–Dynamically set File Mask : FileSpec - Sudeep's Domain</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/jJ2PsYGoRsI/ssisdynamically-set-file-mask-filespec.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Tue, 28 Sep 2010 12:46:48 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-6099692302885285304</guid><description>&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2010/09/29/ssis-dynamically-set-file-mask-filespec.aspx"&gt;SSIS–Dynamically set File Mask : FileSpec - Sudeep's Domain&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial, Helvetica; font-size: 13px; "&gt;&lt;p&gt;In the SSIS Forum I cams across the following query and thought of writing a post on the same.&lt;/p&gt;&lt;p&gt;“Can anyone give guidance on how to set the mask for a Foreach File Enumerator programmatically? I have a DB that has a list of masks. I am retrieving that into an ADO recordset. For each record I retrieve the value into a variable. I would like to look at a directory and copy all files that begin with the chars for each item in my recordset variable.”&lt;/p&gt;&lt;p&gt;The solution I provide uses a Flat File to store the various file mask in stead of a Table as required in the above case.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div id="highlighter_450806" class="syntaxhighlighter " style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 1px !important; padding-right: 1px !important; padding-bottom: 1px !important; padding-left: 1px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(231, 229, 220) !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: relative !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 1533px; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;div class="lines" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;div class="line alt1" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;code class="number" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: left !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; color: rgb(92, 92, 92) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;1.&lt;/code&gt;&lt;span class="content" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 3.3em !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255) !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;span class="block" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; text-indent: -1.5em !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; "&gt;&lt;code class="plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: inline !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;b*.txt&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line alt2" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;code class="number" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: left !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; color: rgb(92, 92, 92) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;2.&lt;/code&gt;&lt;span class="content" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 3.3em !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;span class="block" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; text-indent: -1.5em !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; "&gt;&lt;code class="plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: inline !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;a*.txt&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line alt1" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;code class="number" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: left !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; color: rgb(92, 92, 92) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;3.&lt;/code&gt;&lt;span class="content" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 3.3em !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(255, 255, 255) !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;span class="block" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; text-indent: -1.5em !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; "&gt;&lt;code class="plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: inline !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;d*&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line alt2" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;code class="number" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0.3em !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: right !important; float: left !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; color: rgb(92, 92, 92) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;4.&lt;/code&gt;&lt;span class="content" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 3.3em !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 3px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(248, 248, 248) !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;&lt;span class="block" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 1.5em !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: url(http://beyondrelational.com/syntaxhighlighter/styles/wrapping.png) !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: block !important; text-indent: -1.5em !important; background-position: 0px 1.1em !important; background-repeat: no-repeat no-repeat !important; "&gt;&lt;code class="plain" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; margin-left: 0px !important; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; border-top-width: 0px !important; border-right-width: 0px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-style: initial !important; border-color: initial !important; outline-width: 0px !important; outline-style: initial !important; outline-color: initial !important; background-image: none !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: initial !important; text-align: left !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-family: Consolas, Monaco, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: normal !important; font-style: normal !important; font-size: 1em !important; display: inline !important; color: rgb(0, 0, 0) !important; background-position: initial initial !important; background-repeat: initial initial !important; "&gt;*z.xlsx&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;&lt;span &gt;The above scenario could be broken into 3 parts:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Read the flat file and save the values to a object type variable.&lt;/li&gt;&lt;li&gt;Loop through each row of the object variable(which contains the file masks).&lt;/li&gt;&lt;li&gt;For each of the mask traverse the folder and copy/move(or any other operation you need) the files that match the current file mask.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-6099692302885285304?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=jJ2PsYGoRsI:YfblsZwJaIE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=jJ2PsYGoRsI:YfblsZwJaIE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=jJ2PsYGoRsI:YfblsZwJaIE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=jJ2PsYGoRsI:YfblsZwJaIE:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=jJ2PsYGoRsI:YfblsZwJaIE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=jJ2PsYGoRsI:YfblsZwJaIE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/jJ2PsYGoRsI" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-29T01:16:48.870+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/09/ssisdynamically-set-file-mask-filespec.html</feedburner:origLink></item><item><title>Links for 2010-09-08 [Digg]</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/ELn-KsRF2qo/
		</link><pubDate>Thu, 09 Sep 2010 00:00:00 PDT</pubDate><guid isPermaLink="false">
			http://digg.com/
		#2010-09-08</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/loop_through_each_record_in_a_text_file_recordset_destination_sudeep_s_domain"&gt;Loop through each record in a text file : Recordset Destination - Sudeep's Domain&lt;/a&gt;&lt;br/&gt;
This blog talks about ETL scenarios and concepts of SSIS a part of MSBI using SQL Server 2005 and SQL Server 2008&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/script_component_source_part2_retain_previous_record_sudeep_s_domain"&gt;Script Component&amp;acirc;&amp;#128;&amp;#147;Source Part2 Retain previous record - Sudeep's Domain&lt;/a&gt;&lt;br/&gt;
This blog talks about ETL scenarios and concepts of SSIS a part of MSBI using SQL Server 2005 and SQL Server 2008&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/ssis_managing_control_flow_based_on_the_input_file_name_sudeep_s_domain"&gt;SSIS - Managing Control Flow based on the input file name - Sudeep's Domain&lt;/a&gt;&lt;br/&gt;
This blog talks about ETL scenarios and concepts of SSIS a part of MSBI using SQL Server 2005 and SQL Server 2008&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/sudeep_s_domain_loop_through_each_record_in_a_text_file_recordset_destination"&gt;Sudeep's Domain: Loop through each record in a text file : Recordset Destination&lt;/a&gt;&lt;br/&gt;
In most ETL we use Foreach loop to iterate through each file in a folder or records fetched from a table. Now the question arises how do we use Foreach loop based on each record in a text file.

Scenario: We have a text file having 2 columns, one containing source file relative path and 2nd column having the destination file relative path. The objective is to fetch each file from the source folder that are there in the our text file and move them to destination based on the connections available in the text file on the same record.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/sudeep_s_domain_script_component_source_part2_retain_last_record"&gt;Sudeep's Domain: Script Component&amp;ndash;Source Part2 Retain last record&lt;/a&gt;&lt;br/&gt;
So keeping my focus on SSIS Script Component as Source I show another example. Mostly Script component is needed when source is Flat file and we need to retain the previous record value(s) to be used in the next record(s). Keeping this in mind I present the scenario:

The source file layout
1,1
2,1
3,0
4,1
5,0
6,0
7,1

Requirement: Add a third column to data and the values need to be set base on the existing 2 columns. If Column 2 value 1 set column 3 as Column 1, else set Column 3 value to the Column 1 value of the previous record.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/sudeep_s_domain_to_use_script_component_or_derived_column_transformation_is_the_question"&gt;Sudeep's Domain: To use Script Component or Derived Column Transformation?? Is the question..&lt;/a&gt;&lt;br/&gt;
This is an old debate and yet not resolved. To use Script Component or Derived Column Transformation??
Yes Derived Column Transformation can NOT do all that can be done in Script Component.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/sudeep_s_domain_script_component_source_part1"&gt;Sudeep's Domain: Script Component&amp;ndash;Source Part1&lt;/a&gt;&lt;br/&gt;
One of the most advance feature of SSIS is Script design capability provided be it Script Task in Control Flow or Script Component in Data Flow Task. I have seen people use the Script task pretty often but avoid Script Component because of various reasons.  Earlier I had shown how to set up user variable in Script component. Today I will demonstrate how to use Script Component as a Source for the below flat file:
Name,Rohit
Age,28
Sex,Male
Name,Mohit
Age,20
Sex,Male
Name,Ram
Age,28
Sex,Male
Name,Shyam
Age,20
Sex,Male



Notice that the Column values are coming in new rows and the column header is present in all the all the rows.

While the output should be in the following format:
Name     Age        Sex
Rohit      28          Male
Mohit      20          Male
Ram       28          Male
Shyam   20          Male&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/sudeep_s_domain_ssis_managing_control_flow_based_on_the_input_file_name"&gt;Sudeep's Domain: SSIS - Managing Control Flow based on the input file name&lt;/a&gt;&lt;br/&gt;
Many times during ETL we have a requirement where based on the file name we have to perform certain operations. Normally within a For Each Loop with File enumerator in Control Flow Task there is no direct way of doing this. If the file mask matches, well and good but nothing beyond that. I demonstrate this with a scenario....&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/sudeep_s_domain_less_known_used_property_execvaluevariable"&gt;Sudeep's Domain: Less known/used property: ExecValueVariable&lt;/a&gt;&lt;br/&gt;
At times I have seen in SSIS forums people ask about the way they can know the number of records updated by a query or deleted by a query in an Execute SQL Task in control flow. Even I replied at times that its not possible(in a direct manner), until I read about the property ExecValueVariable.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digg.com/news/technology/sudeep_s_domain_dft_2_dft"&gt;Sudeep's Domain: DFT 2 DFT&lt;/a&gt;&lt;br/&gt;
In SSIS Data Flow Task (DFT) is the most used task as almost all the ETL is done in DFTs. Situation do arise when we need to use data between two or more DFTs. So how can this be achieved? Well there are a number of ways you can save you data in one DFT to so that you access the same data in another DFT. Below are the different ways to store the data in the intermediate process, to be used again in another DFT or even another package.
Raw File
Flat File
SQL Table
Excel File
Recorset destination with Script component as the source&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/ELn-KsRF2qo" height="1" width="1"/&gt;</description><feedburner:origLink>http://digg.com/
		#2010-09-08</feedburner:origLink></item><item><title>Loop through each record in a text file : Recordset Destination</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/X9hc3FUG42A/loop-through-each-record-in-text-file.html</link><category>SQL Server 2008</category><category>ForEach Loop</category><category>Data Flow Task</category><category>Dynamic File Handling SSIS</category><category>SQL Server 2005</category><category>MSBI</category><category>Dynamically set</category><category>SSIS</category><category>ETL</category><category>Recordset Destination</category><category>Flat File Source</category><category>Flat File Destination</category><category>Connection Managers</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Wed, 08 Sep 2010 12:14:45 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-3550259270439711672</guid><description>&lt;p&gt;In most ETL we use Foreach loop to iterate through each file in a folder or records fetched from a table. Now the question arises how do we use Foreach loop based on each record in a text file.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#f79646"&gt;Scenario&lt;/font&gt;&lt;/strong&gt;: We have a text file having 2 columns, one containing source file relative path and 2nd column having the destination file relative path. The objective is to fetch each file from the source folder that are there in the our text file and move them to destination based on the connections available in the text file on the same record.&lt;/p&gt; &lt;p&gt;File Layout:&lt;/p&gt; &lt;p&gt;InputFilePath,OutputFilePath &lt;br&gt;\Input\Input1.txt,Output\Output1.txt &lt;br&gt;\Input\Input2.txt,Output\Output2.txt &lt;br&gt;\Input\Input3.txt,Output\Output3.txt&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#f79646"&gt;The overall package:&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="file:///C:/Users/Madhu/AppData/Local/Temp/WindowsLiveWriter1286139640/supfiles76198A/Package2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Package_thumb" border="0" alt="Package_thumb" src="http://lh3.ggpht.com/_nlAMt5JZyNM/TIfgosCJf2I/AAAAAAAACRY/CF5mWJMilXU/Package_thumb2.png?imgmax=800" width="244" height="221"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The first Data Flow Task(DFT) uses a Flat File &lt;font color="#333333"&gt;Source to read the data&lt;/font&gt; and send it to an object type user variable using Recordset Destination.&lt;/p&gt; &lt;p&gt;&lt;a href="Loop through each record in a text file : Recordset Destination" target="_blank"&gt;Continue&lt;/a&gt;……&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-3550259270439711672?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=X9hc3FUG42A:97hx8zArBjY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=X9hc3FUG42A:97hx8zArBjY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=X9hc3FUG42A:97hx8zArBjY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=X9hc3FUG42A:97hx8zArBjY:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=X9hc3FUG42A:97hx8zArBjY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=X9hc3FUG42A:97hx8zArBjY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/X9hc3FUG42A" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-09T00:44:45.255+05:30</app:edited><media:thumbnail url="http://lh3.ggpht.com/_nlAMt5JZyNM/TIfgosCJf2I/AAAAAAAACRY/CF5mWJMilXU/s72-c/Package_thumb2.png?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/09/loop-through-each-record-in-text-file.html</feedburner:origLink></item><item><title>Script Component–Source Part2 Retain last record</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/vkzjULHCYSA/script-componentsource-part2-retain.html</link><category>SQL Server 2008</category><category>Retain Last Record</category><category>SSIS</category><category>Script Component</category><category>Script Component Source</category><category>MSBI</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Thu, 02 Sep 2010 06:04:58 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-4537798421514989173</guid><description>&lt;br /&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="color: black; font-family: calibri; font-size: 10pt;"&gt;So keeping my 
focus on SSIS Script Component as Source I show another example. &lt;/span&gt;&lt;a href="file:///C:/blogs/sudeep/archive/2010/08/30/to-use-script-component-or-derived-column-transformation-is-the-question.aspx"&gt;&lt;span style="color: blue; font-family: calibri; font-size: 10pt;"&gt;&lt;span style="text-decoration: underline;"&gt;Mostly Script component is needed 
when&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="color: black; font-size: 10pt;"&gt; source is Flat file and we need to 
retain the previous record value(s) to be used in the next record(s). Keeping 
this in mind I present the scenario:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;strong&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;The source file 
layout&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;pre class="brush: plain"&gt;1,1
2,1
3,0
4,1
5,0
6,0
7,1&lt;/pre&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: calibri;"&gt;&lt;span style="color: black; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: calibri;"&gt;&lt;strong&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;Requirement&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: black; font-size: 10pt;"&gt;: Add a third column to data and the 
values need to be set base on the existing 2 columns. If Column 2 value 1 set 
column 3 as Column 1, else &lt;/span&gt;&lt;strong&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;set Column 3 value to the Column 1 value 
of the previous record&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: black; font-size: 10pt;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;strong&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;Expected 
Output:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align="justify" class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class="brush: plain"&gt;Col1 Col2 Col3
1 1 1
2 1 2
3 0 2
4 1 4
5 0 4
6 0 4
7 1 7&lt;/pre&gt;
&lt;pre class="brush: plain"&gt;&lt;/pre&gt;
&lt;pre class="brush: plain"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; white-space: normal;"&gt;&lt;strong&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;Output:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://beyondrelational.com/cfs-filesystemfile.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sudeep/output.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="180" src="http://beyondrelational.com/cfs-filesystemfile.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sudeep/output.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre class="brush: plain"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; white-space: normal;"&gt;&lt;strong&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: plain"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; white-space: normal;"&gt;&lt;strong&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: plain"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; white-space: normal;"&gt;&lt;strong&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="color: #f79646; font-size: 10pt;"&gt;&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2010/09/02/script-component-source-part2-retain-last-record.aspx"&gt;READ MORE HERE...&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="brush: plain"&gt;&lt;span class="Apple-style-span" style="color: #f79646; font-family: calibri;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-4537798421514989173?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vkzjULHCYSA:YmXBe63HnoM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vkzjULHCYSA:YmXBe63HnoM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vkzjULHCYSA:YmXBe63HnoM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vkzjULHCYSA:YmXBe63HnoM:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vkzjULHCYSA:YmXBe63HnoM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=vkzjULHCYSA:YmXBe63HnoM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/vkzjULHCYSA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-02T18:34:58.834+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/09/script-componentsource-part2-retain.html</feedburner:origLink></item><item><title>To use Script Component or Derived Column Transformation?? Is the question..</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/LEaZXVAXNVU/to-use-script-component-or-derived.html</link><category>SSIS</category><category>Script Component</category><category>Derived Column Transform</category><category>SQL Server</category><category>MSBI</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Sun, 29 Aug 2010 23:26:40 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-7699276483577313395</guid><description>&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;
This is an old debate and yet not resolved. To use Script Component or Derived Column Transformation??&lt;br /&gt;
Yes Derived Column Transformation can NOT do all that can be done in Script Component.&lt;br /&gt;
&lt;strong&gt;Advantages of Script Component:&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2010/08/30/to-use-script-component-or-derived-column-transformation-is-the-question.aspx"&gt;Read more..&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-7699276483577313395?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=LEaZXVAXNVU:IvmQYLUOJMc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=LEaZXVAXNVU:IvmQYLUOJMc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=LEaZXVAXNVU:IvmQYLUOJMc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=LEaZXVAXNVU:IvmQYLUOJMc:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=LEaZXVAXNVU:IvmQYLUOJMc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=LEaZXVAXNVU:IvmQYLUOJMc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/LEaZXVAXNVU" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-30T11:56:40.246+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/08/to-use-script-component-or-derived.html</feedburner:origLink></item><item><title>Script Component–Source Part1</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/G8PvF5zYa8k/script-componentsource-part1.html</link><category>SSIS</category><category>Script Component</category><category>Script Component Source</category><category>MSBI</category><category>Connection Managers</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Thu, 02 Sep 2010 06:03:45 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-6231023574700979631</guid><description>One of the most advance feature of SSIS is Script design capability provided be it Script Task in Control Flow or Script Component in Data Flow Task. I have seen people use the Script task pretty often but avoid Script Component because of various reasons.&amp;nbsp; Earlier I had shown how to set up user variable in Script component. Today I will demonstrate how to use Script Component as a Source for the below flat file:&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span lang="EN"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="brush: plain"&gt;&lt;/pre&gt;
&lt;pre class="brush: plain"&gt;
&lt;/pre&gt;
&lt;pre class="brush: plain"&gt;Name,Rohit
Age,28
Sex,Male
Name,Mohit
Age,20
Sex,Male
Name,Ram
Age,28
Sex,Male
Name,Shyam
Age,20
Sex,Male&lt;/pre&gt;
&lt;br /&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;strong&gt;&lt;span lang="EN"&gt;Notice&lt;/span&gt;&lt;/strong&gt;&lt;span lang="EN"&gt;&amp;nbsp;that the Column values are coming in new rows and the column header is present in all the all the rows.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span lang="EN"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span lang="EN"&gt;While the output should be in the following format:&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;strong&gt;&lt;span lang="EN"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sex&lt;/span&gt;&lt;/strong&gt;&lt;span lang="EN"&gt;&lt;br /&gt;Rohit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&lt;br /&gt;Mohit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&lt;br /&gt;Ram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&lt;br /&gt;Shyam&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Male&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2010/08/30/script-component-source-part1.aspx" target="_blank"&gt;READ ON…..&lt;/a&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-6231023574700979631?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=G8PvF5zYa8k:hSpOA1BzCMk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=G8PvF5zYa8k:hSpOA1BzCMk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=G8PvF5zYa8k:hSpOA1BzCMk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=G8PvF5zYa8k:hSpOA1BzCMk:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=G8PvF5zYa8k:hSpOA1BzCMk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=G8PvF5zYa8k:hSpOA1BzCMk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/G8PvF5zYa8k" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-02T18:33:45.209+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/08/script-componentsource-part1.html</feedburner:origLink></item><item><title>SSIS - Managing Control Flow based on the input file name</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/UpOVYJvNP18/ssis-managing-control-flow-based-on.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Sun, 29 Aug 2010 13:25:49 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-2742479507886630149</guid><description>&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;Many times during ETL we have a requirement where based on the file name we have to perform certain operations. Normally within a For Each Loop with File enumerator in Control Flow Task there is no direct way of doing this. If the file mask matches, well and good but nothing beyond that. I demonstrate this with a scenario.... &lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2010/08/17/control-flow-based-on-the-input-file-name.aspx"&gt;read more&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-2742479507886630149?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=UpOVYJvNP18:BkEv4QFepKQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=UpOVYJvNP18:BkEv4QFepKQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=UpOVYJvNP18:BkEv4QFepKQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=UpOVYJvNP18:BkEv4QFepKQ:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=UpOVYJvNP18:BkEv4QFepKQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=UpOVYJvNP18:BkEv4QFepKQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/UpOVYJvNP18" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-30T01:55:49.994+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/08/ssis-managing-control-flow-based-on.html</feedburner:origLink></item><item><title>Less known/used property: ExecValueVariable</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/nQzgXz80SoA/less-knownused-property.html</link><category>SSIS</category><category>Execute SQL Task</category><category>ExecValueVariable</category><category>MSBI</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Sun, 15 Aug 2010 17:05:44 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-5486402744263846136</guid><description>&lt;p align="justify"&gt;&lt;font face="Trebuchet MS"&gt;At times I have seen in SSIS forums people ask about the way they can know the number of records updated by a query or deleted by a query in an Execute SQL Task in control flow. Even I replied at times that its not possible(in a direct manner), until I read about the property ExecValueVariable.&lt;/font&gt;&lt;/p&gt; &lt;p align="justify"&gt;Read more &lt;a href="http://beyondrelational.com/blogs/sudeep/archive/2010/08/16/less-known-used-property-execvaluevariable.aspx" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-5486402744263846136?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=nQzgXz80SoA:1KOXrhqI0b4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=nQzgXz80SoA:1KOXrhqI0b4:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=nQzgXz80SoA:1KOXrhqI0b4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=nQzgXz80SoA:1KOXrhqI0b4:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=nQzgXz80SoA:1KOXrhqI0b4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=nQzgXz80SoA:1KOXrhqI0b4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/nQzgXz80SoA" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-16T05:35:44.037+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/08/less-knownused-property.html</feedburner:origLink></item><item><title>One Div Zero: A Brief, Incomplete, and Mostly Wrong History of Programming Languages</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/t2483_YrRWg/one-div-zero-brief-incomplete-and.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Tue, 11 May 2010 14:53:59 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-8269485470008496799</guid><description>&lt;div&gt;Know the true HISTORY, one that really matters:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html"&gt;One Div Zero: A Brief, Incomplete, and Mostly Wrong History of Programming Languages&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-8269485470008496799?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=t2483_YrRWg:y2RRpYcIh7I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=t2483_YrRWg:y2RRpYcIh7I:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=t2483_YrRWg:y2RRpYcIh7I:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=t2483_YrRWg:y2RRpYcIh7I:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=t2483_YrRWg:y2RRpYcIh7I:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=t2483_YrRWg:y2RRpYcIh7I:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/t2483_YrRWg" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-12T03:23:59.235+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/05/one-div-zero-brief-incomplete-and.html</feedburner:origLink></item><item><title>DFT 2 DFT</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/DhVmdiTmnyQ/dft-2-dft.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Thu, 06 May 2010 00:04:23 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-55130806275829707</guid><description>&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align="center"&gt;
In SSIS Data Flow Task (DFT) is the most used task as almost all the ETL is done in DFTs. Situation do arise when we need to use data between two or more DFTs. So how can this be achieved? Well there are a number of ways you can save you data in one DFT to so that you access the same data in another DFT. Below are the different ways to store the data in the intermediate process, to be used again in another DFT or even another package.&lt;/div&gt;
&lt;ul class="unIndentedList"&gt;
&lt;li&gt;Raw File&lt;/li&gt;
&lt;li&gt;Flat File&lt;/li&gt;
&lt;li&gt;SQL Table&lt;/li&gt;
&lt;li&gt;Excel File&lt;/li&gt;
&lt;li&gt;Recorset destination with Script component as the source&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
For details check this out: &lt;a href="http://in%20ssis%20data%20flow%20task%20%28dft%29%20is%20the%20most%20used%20task%20as%20almost%20all%20the%20etl%20is%20done%20in%20dfts.%20situation%20do%20arise%20when%20we%20need%20to%20use%20data%20between%20two%20or%20more%20dfts.%20so%20how%20can%20this%20be%20achieved/?%20Well%20there%20are%20a%20number%20of%20ways%20you%20can%20save%20you%20data%20in%20one%20DFT%20to%20so%20that%20you%20access%20the%20same%20data%20in%20another%20DFT.%20Below%20are%20the%20different%20ways%20to%20store%20the%20data%20in%20the%20intermediate%20process,%20to%20be%20used%20again%20in%20another%20DFT%20or%20even%20another%20package.%20%20Raw%20File%20Flat%20File%20SQL%20Table%20Excel%20File%20Recorset%20destination%20with%20Script%20component%20as%20the%20source"&gt;DFT 2 DFT&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-55130806275829707?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=DhVmdiTmnyQ:i8XJ_94IV0Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=DhVmdiTmnyQ:i8XJ_94IV0Q:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=DhVmdiTmnyQ:i8XJ_94IV0Q:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=DhVmdiTmnyQ:i8XJ_94IV0Q:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=DhVmdiTmnyQ:i8XJ_94IV0Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=DhVmdiTmnyQ:i8XJ_94IV0Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/DhVmdiTmnyQ" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-06T12:34:23.706+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/05/dft-2-dft.html</feedburner:origLink></item><item><title>SSIS - Delete files in a folder older than a specified number of days</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/mW3WDwIqEuo/ssis-delete-files-in-folder-older-than.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Tue, 06 Apr 2010 16:07:47 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-4201455575548922498</guid><description>&lt;p&gt;Scenario: How to delete files created a number of days before today. The files will have the date appended to the file name and we will not check the file properties to decide the file age. The file name would follow the naming convention: File_ddmmyyyy.txt&lt;/p&gt; &lt;p&gt;This can be achieved very easily in SSIS. Create an integer variable to store the value stating how old files do you wish to delete. Suppose you wish to delete all files older than 3 days, the variable would have the value 3. I name this variable intFileMaxAge. Make this variable &lt;a href="http://msdn.microsoft.com/en-us/library/cc895212.aspx" target="_blank"&gt;configurable&lt;/a&gt; so that it can be changed as and when required. &lt;/p&gt; &lt;p&gt;Next I show the layout of the package. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_nlAMt5JZyNM/S7u-VXF6kgI/AAAAAAAACMk/8zFuvQBGI5A/s1600-h/Control%20Flow%5B7%5D.jpg"&gt;&lt;img title="Control Flow" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="148" alt="Control Flow" src="http://lh3.ggpht.com/_nlAMt5JZyNM/S7u-WopxCEI/AAAAAAAACMo/_spM58wnNzI/Control%20Flow_thumb%5B7%5D.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig. 1&lt;/p&gt; &lt;p&gt;The F&lt;em&gt;oreach Loop Container&lt;/em&gt; is configured to pick the files from a particular folder(you should make this connection &lt;a href="http://msdn.microsoft.com/en-us/library/cc895212.aspx" target="_blank"&gt;configurable&lt;/a&gt;) and the “&lt;em&gt;Retrieve file name&lt;/em&gt;” property is set to “&lt;em&gt;Name and extension&lt;/em&gt;”. Refer fig. 2&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_nlAMt5JZyNM/S7u-XxLGF4I/AAAAAAAACM0/Kdlg4shlbgo/s1600-h/ForEach%20loop%5B1%5D.jpg"&gt;&lt;img title="ForEach loop" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="229" alt="ForEach loop" src="http://lh3.ggpht.com/_nlAMt5JZyNM/S7u-Y1zQpYI/AAAAAAAACM8/27ibG5FUrv8/ForEach%20loop_thumb%5B1%5D.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig. 2&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Next we need to save the file name for each iteration to a string variable strFileName. For this go to the &lt;em&gt;Variable Mappings&lt;/em&gt; tab and select the variable strFileName from the drop down box and set the &lt;em&gt;index&lt;/em&gt; to zero. Refer fig.&amp;nbsp; 3&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_nlAMt5JZyNM/S7u-Z-r1O-I/AAAAAAAACNA/W8TShv07rDU/s1600-h/ForEach%20loop_VarMapping.jpg"&gt;&lt;img title="ForEach loop_VarMapping" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="229" alt="ForEach loop_VarMapping" src="http://lh3.ggpht.com/_nlAMt5JZyNM/S7u-bEWLsBI/AAAAAAAACNI/kdGRKZQsYFk/ForEach%20loop_VarMapping_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig. 3&lt;/p&gt; &lt;p&gt;Once the above is done put a script task in the &lt;em&gt;Foreach Loop Container&lt;/em&gt;. Do not make any changes to the&lt;em&gt; script task&lt;/em&gt;. It is just there so that we can have &lt;em&gt;Precedence Constraint&lt;/em&gt; before the &lt;em&gt;File system task&lt;/em&gt; to control the flow. We need the &lt;em&gt;File System Task&lt;/em&gt; to be triggered only when the condition is met i.e. files created before certain days (Refer fig. 1). Double click the precedence&amp;nbsp; and set the &lt;em&gt;Evaluation operation&lt;/em&gt; to &lt;em&gt;Expression&lt;/em&gt;. In the &lt;em&gt;Expression&lt;/em&gt; put the below expression:&lt;/p&gt; &lt;p&gt;DATEDIFF("dd",(DT_Date)(SUBSTRING(@[User::strFileName],6,2)+"-"+SUBSTRING(@[User::strFileName],8,2)+"-"+SUBSTRING(@[User::strFileName],10,4)),GETDATE()) &amp;gt; @[User::intFileMaxAge]&lt;/p&gt; &lt;p&gt;The above expression extracts the date part from the file name and converts it to date type. Once that’s done it gets the difference of the between the file date and today’s date. After this the expression checks whether the difference is greater than the value specified in the variable intFileMaxAge.&lt;/p&gt; &lt;p&gt;If the above expression will be evaluated to true the control will go to the &lt;em&gt;File Sytem Task. &lt;/em&gt;&lt;/p&gt; &lt;p&gt;Setting up the File System Task. (refer fig. 4) The operation is set to &lt;em&gt;Delete file&lt;/em&gt;&amp;nbsp; as we need to delete files. Set the IsSourcePathVariable to False as I create a connection to connect to the file and use expression to modify the connection at run time.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_nlAMt5JZyNM/S7u-cETnB1I/AAAAAAAACNM/-EsKmmbwGRQ/s1600-h/FileSystem%20Task.jpg"&gt;&lt;img title="FileSystem Task" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="229" alt="FileSystem Task" src="http://lh3.ggpht.com/_nlAMt5JZyNM/S7u-dc-y47I/AAAAAAAACNY/L6CA77YURd8/FileSystem%20Task_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig. 4&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;In the Connection Managers select the connection manager configured above(refer fig. 4) go to its properties and in the expression set connection string to the following expression:&lt;/p&gt; &lt;p&gt;@[User::strFolderPath]+ @[User::strFileName]&lt;/p&gt; &lt;p&gt;Where the variable strFolderPath contains the folder in which the files are placed. Again make this &lt;a href="http://msdn.microsoft.com/en-us/library/cc895212.aspx" target="_blank"&gt;configurable&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;That completes the package.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-4201455575548922498?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=mW3WDwIqEuo:XNwseeCSW0s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=mW3WDwIqEuo:XNwseeCSW0s:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=mW3WDwIqEuo:XNwseeCSW0s:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=mW3WDwIqEuo:XNwseeCSW0s:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=mW3WDwIqEuo:XNwseeCSW0s:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=mW3WDwIqEuo:XNwseeCSW0s:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/mW3WDwIqEuo" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T04:37:47.181+05:30</app:edited><media:thumbnail url="http://lh3.ggpht.com/_nlAMt5JZyNM/S7u-WopxCEI/AAAAAAAACMo/_spM58wnNzI/s72-c/Control%20Flow_thumb%5B7%5D.jpg?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">9</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/04/ssis-delete-files-in-folder-older-than.html</feedburner:origLink></item><item><title>Using DB Mail in SSIS</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/7O3uPZhOnhw/using-db-mail-in-ssis.html</link><category>Send Mail Task</category><category>HTML Mail in Body</category><category>SSIS</category><category>Execute SQL Task</category><category>DB Mail</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Sun, 04 Apr 2010 20:38:58 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-5473377175929660943</guid><description>&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the &lt;/span&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;SSIS Forum&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt; I often
find people asking if it’s possible to send mail in HTML format or Fetch data
from Table and use it in the mail body. In the Send Mail Task we can only send
the mails in text format or send the query result as an attachment. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Today I will explain the way this
can be achieved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;If we have a table with columns
as ID, CustName, Amount and we need to have the mail sent in the following
format. The rows will be colored based on a particular condition which can be
set in the query.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: 18px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;h1 style="display: inline !important;"&gt;

&lt;span class="Apple-style-span" style="font-size: medium;"&gt;

Mail Header&lt;/span&gt;&lt;/h1&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: 18px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: large;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: large;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: large;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: large;"&gt;&lt;b&gt;&lt;table border="1"&gt;&lt;tbody&gt;
&lt;tr bgcolor="gray"&gt;&lt;td&gt;I&lt;span class="Apple-style-span" style="font-size: small;"&gt;D&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;CustomerName&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Amount&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Sudeep&lt;/span&gt;&lt;/td&gt;&lt;td bgcolor="Green"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;100&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Ankur&lt;/span&gt;&lt;/td&gt;&lt;td bgcolor="Red"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;-10&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Manju&lt;/span&gt;&lt;/td&gt;&lt;td bgcolor="Green"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;20&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Source Table Script&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;code style="font-size: 12px;"&gt;&lt;span style="color: blue;"&gt;CREATE TABLE &lt;/span&gt;&lt;span style="color: black;"&gt;[dbo].[tblCust]&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: black;"&gt;[ID] [int] &lt;/span&gt;&lt;span style="color: #434343;"&gt;IDENTITY&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: black;"&gt;1&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;span style="color: black;"&gt;1&lt;/span&gt;&lt;span style="color: grey;"&gt;) NOT NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: black;"&gt;[CustName] [nvarchar]&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: black;"&gt;50&lt;/span&gt;&lt;span style="color: grey;"&gt;) &lt;/span&gt;&lt;span style="color: black;"&gt;COLLATE SQL_Latin1_General_CP1_CI_AS &lt;/span&gt;&lt;span style="color: grey;"&gt;NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: black;"&gt;[Amount] [int] &lt;/span&gt;&lt;span style="color: grey;"&gt;NULL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) &lt;/span&gt;&lt;span style="color: blue;"&gt;ON &lt;/span&gt;&lt;span style="color: black;"&gt;[PRIMARY]&lt;/span&gt;&lt;/code&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Insert Records&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code style="font-size: 12px;"&gt;&lt;span style="color: blue;"&gt;INSERT INTO &lt;/span&gt;&lt;span style="color: black;"&gt;[RAJ].[dbo].[tblCust]&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: black;"&gt;[CustName]&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;span style="color: black;"&gt;[Amount]&lt;/span&gt;&lt;span style="color: grey;"&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;SELECT &lt;/span&gt;&lt;span style="color: red;"&gt;'Sudeep'&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;span style="color: black;"&gt;100 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;UNION &lt;/span&gt;&lt;span style="color: grey;"&gt;ALL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;SELECT &lt;/span&gt;&lt;span style="color: red;"&gt;'Ankur'&lt;/span&gt;&lt;span style="color: grey;"&gt;,-&lt;/span&gt;&lt;span style="color: black;"&gt;10 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;UNION &lt;/span&gt;&lt;span style="color: grey;"&gt;ALL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;SELECT &lt;/span&gt;&lt;span style="color: red;"&gt;'Manju'&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;span style="color: black;"&gt;3 &lt;/span&gt;&lt;span style="color: grey;"&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class="MsoNormal" style="line-height: 12.0pt; mso-line-height-rule: exactly;"&gt;
&lt;b&gt;&lt;span style="font-size: 12pt;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;First we set up the Database Mail Profile with the following query
in our SQL server&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"&gt;&lt;b&gt;&lt;span style="color: #f79646; font-size: 12pt;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 12.0pt; mso-line-height-rule: exactly;"&gt;
&lt;span class="Apple-style-span" style="color: #444444; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;USE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; msdb&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @ProfileName &lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;(255)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @AccountName &lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;(255)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @SMTPAddress &lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;(255)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @EmailAddress &lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;(128)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @DisplayUser &lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;(128)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: green; font-family: 'Courier New'; font-size: 10pt;"&gt;--Here I am setting up our Profile Name, Account Name, STMP server
name, and the name that will display in the from field in the e-mail.&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @ProfileName = &lt;/span&gt;&lt;span style="color: #a31515; font-family: 'Courier New'; font-size: 10pt;"&gt;'Sudeep'&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @AccountName = &lt;/span&gt;&lt;span style="color: #a31515; font-family: 'Courier New'; font-size: 10pt;"&gt;'Sudeep'&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @SMTPAddress = &lt;/span&gt;&lt;span style="color: #a31515; font-family: 'Courier New'; font-size: 10pt;"&gt;'192.168.1.101'&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @EmailAddress = &lt;/span&gt;&lt;span style="color: #a31515; font-family: 'Courier New'; font-size: 10pt;"&gt;'rajsudeep@gmail.com'&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; @DisplayUser = &lt;/span&gt;&lt;span style="color: #a31515; font-family: 'Courier New'; font-size: 10pt;"&gt;'SQL Mail'&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: green; font-family: 'Courier New'; font-size: 10pt;"&gt;--The following section adds our Account, Profile, and
Profile-Account association to the system.&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;EXECUTE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;
msdb.dbo.sysmail_add_account_sp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@account_name = @AccountName,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@email_address = @EmailAddress,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@display_name = @DisplayUser,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@mailserver_name = @SMTPAddress&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;EXECUTE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;
msdb.dbo.sysmail_add_profile_sp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@profile_name = @ProfileName &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;EXECUTE&lt;/span&gt;&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;
msdb.dbo.sysmail_add_profileaccount_sp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@profile_name = @ProfileName,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@account_name = @AccountName,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;span style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;@sequence_number = 1 ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 12.0pt; mso-line-height-rule: exactly;"&gt;
&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 12.0pt; mso-line-height-rule: exactly;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 12.0pt; mso-line-height-rule: exactly;"&gt;
&lt;b&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Next is the query that provides us our data in HTML format which will
be used in the mail body.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;code style="font-size: 12px;"&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;DECLARE &lt;/span&gt;&lt;span style="color: #434343;"&gt;@tableHTML &lt;/span&gt;&lt;span style="color: blue;"&gt;NVARCHAR&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: magenta;"&gt;MAX&lt;/span&gt;&lt;span style="color: grey;"&gt;) ;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;SET &lt;/span&gt;&lt;span style="color: #434343;"&gt;@tableHTML &lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;N'&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;Mail Header&amp;lt;/h1&amp;gt;' &lt;/span&gt;&lt;span style="color: grey;"&gt;+&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;N'&amp;lt;table border="1" width="100%"&amp;gt;' &lt;/span&gt;&lt;span style="color: grey;"&gt;+&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;N'&amp;lt;tr bgcolor="gray"&amp;gt;&amp;lt;td&amp;gt;ID&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;CustomerName&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Amount&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;' &lt;/span&gt;&lt;span style="color: grey;"&gt;+&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: magenta;"&gt;CAST&lt;/span&gt;&lt;span style="color: grey;"&gt;((&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;SELECT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: black;"&gt;td &lt;/span&gt;&lt;span style="color: blue;"&gt;= &lt;/span&gt;&lt;span style="color: black;"&gt;ID&lt;/span&gt;&lt;span style="color: grey;"&gt;, &lt;/span&gt;&lt;span style="color: red;"&gt;''&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: black;"&gt;td &lt;/span&gt;&lt;span style="color: blue;"&gt;= &lt;/span&gt;&lt;span style="color: black;"&gt;CustName&lt;/span&gt;&lt;span style="color: grey;"&gt;, &lt;/span&gt;&lt;span style="color: red;"&gt;''&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;'td/@bgcolor'&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style="color: magenta;"&gt;CASE &lt;/span&gt;&lt;span style="color: blue;"&gt;WHEN &lt;/span&gt;&lt;span style="color: black;"&gt;Amount&lt;/span&gt;&lt;span style="color: grey;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: black;"&gt;0 &lt;/span&gt;&lt;span style="color: blue;"&gt;THEN &lt;/span&gt;&lt;span style="color: red;"&gt;'Green'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;ELSE &lt;/span&gt;&lt;span style="color: red;"&gt;'Red' &lt;/span&gt;&lt;span style="color: blue;"&gt;END&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: black;"&gt;td &lt;/span&gt;&lt;span style="color: blue;"&gt;= &lt;/span&gt;&lt;span style="color: black;"&gt;Amount&lt;/span&gt;&lt;span style="color: grey;"&gt;, &lt;/span&gt;&lt;span style="color: red;"&gt;''&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;FROM &lt;/span&gt;&lt;span style="color: black;"&gt;tblCust&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;FOR XML &lt;/span&gt;&lt;span style="color: black;"&gt;PATH&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: red;"&gt;'tr'&lt;/span&gt;&lt;span style="color: grey;"&gt;), &lt;/span&gt;&lt;span style="color: blue;"&gt;TYPE&lt;/span&gt;&lt;span style="color: grey;"&gt;) &lt;/span&gt;&lt;span style="color: blue;"&gt;AS NVARCHAR&lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: magenta;"&gt;MAX&lt;/span&gt;&lt;span style="color: grey;"&gt;)) + &lt;/span&gt;&lt;span style="color: red;"&gt;N'&amp;lt;/table&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;'&lt;/span&gt;&lt;span style="color: blue;"&gt;EXEC &lt;/span&gt;&lt;span style="color: black;"&gt;msdb.dbo.&lt;/span&gt;&lt;span style="color: darkred;"&gt;sp_send_dbmail &lt;/span&gt;&lt;span style="color: #434343;"&gt;@recipients&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style="color: red;"&gt;'&amp;lt;MailID@maildomain.Com&amp;gt;'&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #434343;"&gt;@subject &lt;/span&gt;&lt;span style="color: blue;"&gt;= &lt;/span&gt;&lt;span style="color: red;"&gt;'SQL Errors Report'&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #434343;"&gt;@body &lt;/span&gt;&lt;span style="color: blue;"&gt;= &lt;/span&gt;&lt;span style="color: #434343;"&gt;@tableHTML&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #434343;"&gt;@body_format &lt;/span&gt;&lt;span style="color: blue;"&gt;= &lt;/span&gt;&lt;span style="color: red;"&gt;'HTML'&lt;/span&gt;&lt;span style="color: grey;"&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #434343;"&gt;@profile_name &lt;/span&gt;&lt;span style="color: blue;"&gt;= &lt;/span&gt;&lt;span style="color: red;"&gt;'SudeepTest'&lt;/span&gt;&lt;span style="color: grey;"&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&amp;nbsp;&lt;/div&gt;
&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; white-space: normal;"&gt;In this query the HTML body is
formed in the variable @tableHTML, and the body format is set to ‘HTML’.&lt;/span&gt;&lt;/pre&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Depending on the number of records fetched in the query the HTML body that is created
from the above query would looks like:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: 'Courier New'; font-size: 10pt;"&gt;html&lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: 'Courier New'; font-size: 10pt;"&gt;body&lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;h1&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mail Header&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;h1&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;table&lt;/span&gt; &lt;span style="color: red;"&gt;border&lt;/span&gt;&lt;span style="color: blue;"&gt;="1"&lt;/span&gt; &lt;span style="color: red;"&gt;width&lt;/span&gt;&lt;span style="color: blue;"&gt;="100%"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt; &lt;span style="color: red;"&gt;bgcolor&lt;/span&gt;&lt;span style="color: blue;"&gt;="gray"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerName&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sudeep&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;bgcolor&lt;/span&gt;&lt;span style="color: blue;"&gt;="Green"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ankur&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;bgcolor&lt;/span&gt;&lt;span style="color: blue;"&gt;="Red"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -10&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Manju&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;bgcolor&lt;/span&gt;&lt;span style="color: blue;"&gt;="Green"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span style="color: maroon;"&gt;table&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;/span&gt;&lt;span style="color: maroon; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;body&lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;
&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;/span&gt;&lt;span style="color: maroon; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;html&lt;/span&gt;&lt;span style="color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 12.0pt; mso-line-height-rule: exactly;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif; line-height: normal;"&gt;If you need any kind of
modification in your table look and feel you could think about the related HTML
that you need and modify the above query accordingly.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Now in the SSIS Package that you
have use the 2nd query in Execute SQL Task and check the mail that you receive.
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;It is not necessary that it can
be used for tables. You can modify the select statement
in the above query to return the data as HTML format without FROM clause or simply put your&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;HTML code in the @tableHTML variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Prerequisites:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;·&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;The SMTP server should be installed and configured&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;·&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;The user in the profile should have access to
the SMTP Server&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;·&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Check the SMTP server for the domains to which
it can broadcast mails.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-5473377175929660943?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=7O3uPZhOnhw:cHCqJAQR3EA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=7O3uPZhOnhw:cHCqJAQR3EA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=7O3uPZhOnhw:cHCqJAQR3EA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=7O3uPZhOnhw:cHCqJAQR3EA:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=7O3uPZhOnhw:cHCqJAQR3EA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=7O3uPZhOnhw:cHCqJAQR3EA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/7O3uPZhOnhw" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-05T09:08:58.407+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/03/using-db-mail-in-ssis.html</feedburner:origLink></item><item><title>Sample Packages</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/vfPSWWD3oHg/sample-packages.html</link><category>Lookup Task</category><category>SSIS</category><category>Precedence Constraint</category><category>Execute SQL Task</category><category>Derived Column Task</category><category>Sort Transform</category><category>ForEach Loop</category><category>Dynamic File Handling SSIS</category><category>Script Task</category><category>Flat File Connection Manager</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Wed, 10 Mar 2010 13:26:12 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-8857600163231237004</guid><description>&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;I am uploading a few sample packages that you could use and modify as per your requirement. Let me know if you need any specific sample or any change in these packages.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozYmJmMTc1NTQtMDA1Ny00NDkwLWEzYjEtMGI5YjQ1ZDQ4ZjA5&amp;amp;hl=en"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;DynamicFileConnection.dtsx&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;This package shows an example where the file connection is changed dynamically based on inputs from the database table. This package includes Execute SQL Task, Foreach Loop with ADO Enumerator, Data Flow Task including Flat File Connection Manager, Derived Column for date transformation, OLEDB Destination and Flat File destination for error records. For step by step description check this &lt;a href="http://rajsudeep.blogspot.com/2009/11/dynamic-file-handling-and-formatting.html"&gt;post&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozYmJmMTc1NTQtMDA1Ny00NDkwLWEzYjEtMGI5YjQ1ZDQ4ZjA5&amp;amp;hl=en"&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozMDNmYTg0YTctMWI2Ni00NThhLWFkOTMtY2Y2Njk1YTYwMmRh&amp;amp;hl=en"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;DeleteFiles.dtsx&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;This package picks files from folder and deletes files based on the file name. It makes use of Foreach Loop, dummy Script Task, Precedence Constraint and File System Task.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozMDNmYTg0YTctMWI2Ni00NThhLWFkOTMtY2Y2Njk1YTYwMmRh&amp;amp;hl=en"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozYjYyOTk4YzQtODY0NC00MzU4LThhMDAtZDU3NjdhOTZmOWM3&amp;amp;hl=en"&gt;RemoveDuplicates.dtsx&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;This is a simple package where I just show how we remove duplicates from the records and perform lookup with no caching. This package includes Sort Transform, Lookup Transform, Flat File Source and OLEDB Destination.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozNTBkNGNiZjItMjg2ZS00MDMwLTg4NDEtMDM3NmFhN2I1ZDhh&amp;amp;hl=en"&gt;QueryFromFile.dtsx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;This package executes a set of queries kept in a folder using For Each Loop and Execute SQL Task&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;I will be uploading more samples soon.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;b&gt;Update1:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href="https://docs.google.com/leaf?id=0B2Xid3EEt_ozNzhkNmRjNzEtMWE4MC00ZDg1LWEzMDAtOTdkNTU5ZjdhYTZj&amp;amp;hl=en"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;SQLXMLtoFile.dtsx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;This package takes a XML stream from Execute SQL task as output and uploads the file to a XML File. The SQL Query could be of any form like:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; * &lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; Table1 &lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FOR XML Auto&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;or&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;*&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;Table1&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FOR XML&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;PATH&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;(&lt;/span&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;'Test'&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;b&gt;Update2:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;a href="https://docs.google.com/leaf?id=0B2Xid3EEt_ozZmRlZWVmYjctOGI2Ny00YTY5LWE0YzAtMGQ5MzA5MWRiOGIz&amp;amp;sort=name&amp;amp;layout=list&amp;amp;num=50"&gt;DeleteOldestFile.dtsx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;This package will delete the oldest file from a given folder. The filename is of the format File_MMDDYYYY.txt For more details on this package I will be posting a blog soon.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: center;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;b&gt;&lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozNDMzZTg3NjItYzkyNi00MjE5LWI0ZjgtYzc5NGViZGQ0ZGRh&amp;amp;hl=en"&gt;&lt;span class="Apple-style-span" style="background-color: orange;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;All the Packages&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-8857600163231237004?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vfPSWWD3oHg:8puhJo7fgnI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vfPSWWD3oHg:8puhJo7fgnI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vfPSWWD3oHg:8puhJo7fgnI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vfPSWWD3oHg:8puhJo7fgnI:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=vfPSWWD3oHg:8puhJo7fgnI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=vfPSWWD3oHg:8puhJo7fgnI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/vfPSWWD3oHg" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-11T02:56:12.981+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/02/sample-packages.html</feedburner:origLink></item><item><title>Assigning variables in Script Component</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/M3A7gVDnGmY/assigning-variables-in-script-component.html</link><category>Post Execute</category><category>Script Component</category><category>Assign Variables</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Sun, 04 Apr 2010 22:54:41 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-4914415769229935225</guid><description>&lt;p&gt;&lt;span style="font-family: verdana, sans-serif"&gt;One of the sore points of using Script component is assigning value to variables. &lt;/span&gt;&lt;br&gt;&lt;span style="font-family: verdana, sans-serif"&gt;Read Write variables can only be altered in Post Execute phase. Script Component runs the code for each record and this would affect performance adversely. For details check "&lt;a href="http://msdn.microsoft.com/en-us/library/ms136033.aspx"&gt;Coding and Debugging the Script Component&lt;/a&gt;".&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: verdana, sans-serif"&gt;In case I need to assign the value of system variable "PackageName" to a readWrite user variable "PkgNm"&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;a style="margin-left: 1em; margin-right: 1em" href="http://1.bp.blogspot.com/_nlAMt5JZyNM/S0uJX_bUaWI/AAAAAAAABjk/1IODU7R_bYE/s1600-h/img.JPG" imageanchor="1"&gt;&lt;img src="http://1.bp.blogspot.com/_nlAMt5JZyNM/S0uJX_bUaWI/AAAAAAAABjk/1IODU7R_bYE/s320/img.JPG" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="font-family: verdana, sans-serif"&gt;Here is a sample code to assign value to Read write variable on the post execute phase:&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style="font-family: verdana, sans-serif"&gt; &lt;div class="MsoNormal"&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Imports&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt; System&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Imports &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;System.Data&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Imports&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt; System.Math&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Imports &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Microsoft.SqlServer.Dts.Pipeline.Wrapper&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Imports&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Microsoft.SqlServer.Dts.Runtime.Wrapper&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;br&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Public&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Class&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt; ScriptMain&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Inherits&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt; UserComponent&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;br&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Public Overrides Sub&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt; CreateNewOutputRows()&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&lt;span style="color: #6aa84f"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #38761d"&gt;' I have not added any code here&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Public Overrides Sub&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt; PostExecute()&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Me&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;.Variables.PkgNm = &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Me&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;.Variables.PackageName&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Msgbox(&lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;Me&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;.Variables.PkgNm)&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;MyBase&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;.PostExecute()&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div class="MsoNormal"&gt;&lt;span style="color: #0070c0"&gt;&lt;span style="font-family: 'Courier New', courier, monospace"&gt;End Class&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-4914415769229935225?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=M3A7gVDnGmY:hNWFl3kqEcs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=M3A7gVDnGmY:hNWFl3kqEcs:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=M3A7gVDnGmY:hNWFl3kqEcs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=M3A7gVDnGmY:hNWFl3kqEcs:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=M3A7gVDnGmY:hNWFl3kqEcs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=M3A7gVDnGmY:hNWFl3kqEcs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/M3A7gVDnGmY" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-05T11:24:41.691+05:30</app:edited><media:thumbnail url="http://1.bp.blogspot.com/_nlAMt5JZyNM/S0uJX_bUaWI/AAAAAAAABjk/1IODU7R_bYE/s72-c/img.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2010/01/assigning-variables-in-script-component.html</feedburner:origLink></item><item><title>Dynamic file handling and formatting dateTime.</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/hgSO6C3GMAw/dynamic-file-handling-and-formatting.html</link><category>Foramt Date Time</category><category>SSIS</category><category>Expressions</category><category>Dynamic File Handling SSIS</category><category>Data Flow Task</category><category>Connection Managers</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Thu, 25 Feb 2010 14:03:57 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-8878710823857152549</guid><description>&lt;div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Hi,&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 8.35pt; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;I’m back with the second post. As I said I would be updating on how to set the file name dynamically for multiple files kept in a folder or different folder.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 8.35pt; margin-right: 0in; margin-top: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Point to note that &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;all the files have the same metadata.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Scenario:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;For simplicity sake I will be using a case where the file names and file paths are saved in a DB table. There is an ID auto increment field to based on which the files need to be picked and inserted into the destination Table.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;The above table’s Schema is: &lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;You can download this package from &lt;a href="http://docs.google.com/leaf?id=0B2Xid3EEt_ozYmJmMTc1NTQtMDA1Ny00NDkwLWEzYjEtMGI5YjQ1ZDQ4ZjA5&amp;amp;sort=name&amp;amp;layout=list&amp;amp;num=50"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;CREATE TABLE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt; [dbo].[FileConfig](&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;                [ID] [int] &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IDENTITY&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;(1,1) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #666666;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;NOT NULL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;                [FileName] [nvarchar](50) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;COLLATE &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SQL_Latin1_General_CP1_CI_AS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #666666;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;                [FilePath] [nvarchar](&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;max&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;COLLATE &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SQL_Latin1_General_CP1_CI_AS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #666666;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ON &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;[PRIMARY]&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;The input file data is comma delimited&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;The destination is SQL Table.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;The data will be modified as per the definition given below.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;

&lt;br /&gt;
&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-bottom-style: none; border-collapse: collapse; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; width: 379px;"&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style="border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;" valign="top" width="193"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Input&amp;nbsp; File Columns&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 139.5pt;" valign="top" width="186"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Output&amp;nbsp; File Columns&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;" valign="top" width="193"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;ID -&amp;gt; String&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 139.5pt;" valign="top" width="186"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;ID -&amp;gt; unsigned Integer&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;" valign="top" width="193"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;FName -&amp;gt; String(50)&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 139.5pt;" valign="top" width="186"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;FName -&amp;gt; String(50)&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;" valign="top" width="193"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;LName -&amp;gt; String(50)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 139.5pt;" valign="top" width="186"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;LName -&amp;gt; String(50)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;" valign="top" width="193"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Age -&amp;gt; String&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 139.5pt;" valign="top" width="186"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Age -&amp;gt; unsigned Integer&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 144.9pt;" valign="top" width="193"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;DOB &amp;gt; String(DD/MM/YYYY)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0in 5.4pt 0in 5.4pt; width: 139.5pt;" valign="top" width="186"&gt;&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;DOB &amp;gt; DateTime&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; line-height: 17px;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;So the Package will look like this:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiEB0P9U3I/AAAAAAAABhw/Ooaqyk8BeLE/s1600/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716519398593394" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiEB0P9U3I/AAAAAAAABhw/Ooaqyk8BeLE/s320/1.jpg" style="cursor: hand; cursor: pointer; display: block; height: 223px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Create 2 string Variable:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-weight: normal;"&gt;FileName &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;and &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-weight: normal;"&gt;FilePath&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="line-height: 115%;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;with the scope as the package(Practice in my case). Set the value of the variable to a file name and path that exists (I set it to “File1.txt” &amp;amp; “C:\SSIS\Practice\Files”) just while development.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Next create an object variable(ObjfileDetails) to store the result set from the initial Execute SQL Task.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href="http://1.bp.blogspot.com/_nlAMt5JZyNM/SwiD-CyegXI/AAAAAAAABho/lV-1HO0kXaU/s1600/21.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716454581993842" src="http://1.bp.blogspot.com/_nlAMt5JZyNM/SwiD-CyegXI/AAAAAAAABho/lV-1HO0kXaU/s320/21.jpg" style="cursor: hand; cursor: pointer; display: block; height: 93px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Now set up the Execute SQL Task to get the file name and path. We save the full result set to an object variable.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;span style="line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;ResultSet&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; : Full Result Set&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;span style="line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;ConnectionType&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; : OLEDB(that’s what I have used you could also use ADO.NET)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;span style="color: #ff9966; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;Connection&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;: Select the appropriate one.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="color: red;"&gt;&lt;span style="text-decoration: underline;"&gt;Note&lt;/span&gt;&lt;/span&gt;: it is ordered by ID column.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiD6yvtDsI/AAAAAAAABhg/sHcge88Uv_w/s1600/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716398735789762" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiD6yvtDsI/AAAAAAAABhg/sHcge88Uv_w/s320/2.jpg" style="cursor: hand; cursor: pointer; display: block; height: 260px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="color: #333333; line-height: 17px;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Set up the Result set as shown in figure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="line-height: 17px;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiD3Ynn21I/AAAAAAAABhY/_uqne6tjzqQ/s1600/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716340182965074" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiD3Ynn21I/AAAAAAAABhY/_uqne6tjzqQ/s320/3.jpg" style="cursor: hand; cursor: pointer; display: block; height: 299px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="color: red;"&gt;&lt;span style="text-decoration: underline;"&gt;Note&lt;/span&gt;&lt;/span&gt;: The Result Name is set to 0.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Once the SQL Task will be executed this object variable will containing the entire result set returned by the query.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the collections tab do the below settings:&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Use the object variable in the For each loop.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Set the enumerator to Foreach ADO Enumerator.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDxi0m47I/AAAAAAAABhQ/OrHAf5_MRNY/s1600/4.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716239842567090" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDxi0m47I/AAAAAAAABhQ/OrHAf5_MRNY/s320/4.jpg" style="cursor: hand; cursor: pointer; display: block; height: 299px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Next goto the Variable mapping and do the below mentioned settings:&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Select the 2 string variable to which the file name and file path will be saved for each iteration of the object variable.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="color: red;"&gt;&lt;span style="text-decoration: underline;"&gt;Note&lt;/span&gt;&lt;/span&gt;: Set the index starting from 0 and the order should be same as the order of the columns fetched in the SELECT query above.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://2.bp.blogspot.com/_nlAMt5JZyNM/SwiDt3pUzhI/AAAAAAAABhI/ZBsu2mClDwM/s1600/5.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716176712912402" src="http://2.bp.blogspot.com/_nlAMt5JZyNM/SwiDt3pUzhI/AAAAAAAABhI/ZBsu2mClDwM/s320/5.jpg" style="cursor: hand; cursor: pointer; display: block; height: 299px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif; line-height: 18px;"&gt;Once this is done we put a Data Flow Task(DFT) in the above For Each Loop.&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the DFT use:&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;1.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: medium;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Flat File Source to fetch the data from the input file.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;2.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: medium;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Derived Column transformation to change the string date field to DB_DBDATE&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;3.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: medium;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;OLEDB Destination to send the valid records to database table.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;4.&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: medium;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Flat File destination to log the error records.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Let’s have a look at the layout of the DFT.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDqmG60LI/AAAAAAAABhA/rzfWxgOCojE/s1600/6.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716120465592498" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDqmG60LI/AAAAAAAABhA/rzfWxgOCojE/s320/6.jpg" style="cursor: hand; cursor: pointer; display: block; height: 258px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Trebuchet MS', sans-serif; line-height: 18px;"&gt;In the Flat file source we make a new connection manager where we set browse and set the file path of an existing file.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the Advanced tab set the Column Names as per the need and set the data type to which you can convert the data without the loss of information like the numeric columns. Leave the other to default or set the max width of the string columns.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://4.bp.blogspot.com/_nlAMt5JZyNM/SwiDnNNBAHI/AAAAAAAABg4/gfx4rT4QnSM/s1600/7.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406716062240669810" src="http://4.bp.blogspot.com/_nlAMt5JZyNM/SwiDnNNBAHI/AAAAAAAABg4/gfx4rT4QnSM/s320/7.jpg" style="cursor: hand; cursor: pointer; display: block; height: 273px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Once the Flat File connection  manager is set up select the columns you need in the flow and your done.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Next connect the Flat File Source to the Derived column to change the DOB column to DT_DBDATE format.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;To do this in the derived column add a new column give it a name and set the expression to :&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;(DT_DBDATE)(SUBSTRING(DOB,4,2) + "-" + SUBSTRING(DOB,1,2) + "-" + SUBSTRING(DOB,7,4))&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Once the expression is set click the Configure Error Output button at the bottom.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://2.bp.blogspot.com/_nlAMt5JZyNM/SwiDi9ZA_xI/AAAAAAAABgw/nLNtrKseFAw/s1600/9.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715989276557074" src="http://2.bp.blogspot.com/_nlAMt5JZyNM/SwiDi9ZA_xI/AAAAAAAABgw/nLNtrKseFAw/s320/9.jpg" style="cursor: hand; cursor: pointer; display: block; height: 216px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;In case of error in the Derived Column transform (e.g. the date field is No Value, “00/00/000” or any invalid date) set it to redirect row so that it can be logged and analyzed.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://4.bp.blogspot.com/_nlAMt5JZyNM/SwiDebcolSI/AAAAAAAABgo/bZyDK9FTs0U/s1600/17.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715911445452066" src="http://4.bp.blogspot.com/_nlAMt5JZyNM/SwiDebcolSI/AAAAAAAABgo/bZyDK9FTs0U/s320/17.JPG" style="cursor: hand; cursor: pointer; display: block; height: 294px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;For the correct records send the data to Table&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the OLEDB Destination:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Select the OLEDB Connection needed to connect to the destination Data base.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Select the table where the columns need to be inserted.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDaU0_EpI/AAAAAAAABgg/TuFhYZByZ3g/s1600/11.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715840949064338" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDaU0_EpI/AAAAAAAABgg/TuFhYZByZ3g/s320/11.jpg" style="cursor: hand; cursor: pointer; display: block; height: 313px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Goto the mapping&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Go the mapping and do the mapping as required and click OK.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDWlHKgJI/AAAAAAAABgY/O3Xm53lB5UQ/s1600/12.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715776600801426" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDWlHKgJI/AAAAAAAABgY/O3Xm53lB5UQ/s320/12.jpg" style="cursor: hand; cursor: pointer; display: block; height: 313px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;For the error records(red arrow) after the derived Column set a flat file destination to log the error records.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;The DFT is now all set.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Now the DFT Flat File source needs to be made dynamic.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;To achieve this follow the steps below.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Goto the connection manager right click-&amp;gt; Properties&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://4.bp.blogspot.com/_nlAMt5JZyNM/SwiDSHp1gyI/AAAAAAAABgQ/OVAqRm01RDI/s1600/13.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715699973686050" src="http://4.bp.blogspot.com/_nlAMt5JZyNM/SwiDSHp1gyI/AAAAAAAABgQ/OVAqRm01RDI/s320/13.jpg" style="cursor: hand; cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 318px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the properties pane for the above connection manager:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Set the&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff9966;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;DelayValidation&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;to True&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Expand the&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff9966;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Expressions&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;by clicking the ellipse.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDN5XVxYI/AAAAAAAABgI/OamgE34ZAqA/s1600/14.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715627418535298" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDN5XVxYI/AAAAAAAABgI/OamgE34ZAqA/s320/14.jpg" style="cursor: hand; cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 198px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;On the Property Expressions Editor window:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;In the&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff9966;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Property&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;column select the&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff6666;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;ConnectionString&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;property from the drop down list.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Now expand the Expression column by clicking the ellipse. An Expression Builder window will pop up.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://1.bp.blogspot.com/_nlAMt5JZyNM/SwiDHwfz4kI/AAAAAAAABgA/BEpn96HqESc/s1600/15.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715521958928962" src="http://1.bp.blogspot.com/_nlAMt5JZyNM/SwiDHwfz4kI/AAAAAAAABgA/BEpn96HqESc/s320/15.jpg" style="cursor: hand; cursor: pointer; display: block; height: 250px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;On the Expression Builder window:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Set the&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff9966;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Expression&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff9966;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;as: @[User::FilePath]+ “\\” + @[User::FileName]&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Click the Evaluate expression button at the left hand bottom to see if the expression is creating the desired output.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Click OK.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="line-height: 15.9pt; margin-bottom: .0001pt; margin-bottom: 0in;"&gt;
&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Click OK on the Property Expression Editor as well.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDBPWYGMI/AAAAAAAABf4/8rG9jF26Iw8/s1600/16.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715409981774018" src="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiDBPWYGMI/AAAAAAAABf4/8rG9jF26Iw8/s320/16.jpg" style="cursor: hand; cursor: pointer; display: block; height: 283px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Save and build the package.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #333333; line-height: 115%;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;
Now when you execute the package the package will take the filenames from the DB table and dump the data in order in the final table.&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href="http://2.bp.blogspot.com/_nlAMt5JZyNM/SwiC8K2fCPI/AAAAAAAABfw/wK0cPaIXbVk/s1600/20.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5406715322874923250" src="http://2.bp.blogspot.com/_nlAMt5JZyNM/SwiC8K2fCPI/AAAAAAAABfw/wK0cPaIXbVk/s320/20.jpg" style="cursor: hand; cursor: pointer; display: block; height: 244px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="color: #0000ee;"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Let me know if you need any further&amp;nbsp;clarification&amp;nbsp;or I am not clear in any step.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-8878710823857152549?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=hgSO6C3GMAw:4o34FwBxgf4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=hgSO6C3GMAw:4o34FwBxgf4:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=hgSO6C3GMAw:4o34FwBxgf4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=hgSO6C3GMAw:4o34FwBxgf4:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=hgSO6C3GMAw:4o34FwBxgf4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=hgSO6C3GMAw:4o34FwBxgf4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/hgSO6C3GMAw" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-26T03:33:57.718+05:30</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_nlAMt5JZyNM/SwiEB0P9U3I/AAAAAAAABhw/Ooaqyk8BeLE/s72-c/1.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2009/11/dynamic-file-handling-and-formatting.html</feedburner:origLink></item><item><title>Expressions</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/oejX9cRLXW0/expressions.html</link><category>Time Conversion</category><category>String Functions</category><category>SSIS</category><category>Date Conversion</category><category>Expressions</category><category>Data type Conversion</category><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Wed, 07 Sep 2011 15:13:40 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-7802740705546595243</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Hi,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Lets talks about&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms141232.aspx"&gt;EXPRESSIONS&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;It is one of the most interesting and used feature available in SSIS. At times we tend to over do in out attempt to work using Expressions. One needs to decide when it is best to use an expression. A few pointers that I would like to provide.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="background-color: #f3f3f3;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Use expressions where they are small&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: #f3f3f3;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Do not make the expression overtly complicated. It makes management difficult.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: #f3f3f3;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Avoid too many nested conditions in expressions.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Expressions can be used at various places:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;  &lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="background-color: #eeeeee;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Precedence constraint - Should evaluate to TRUE or FALSE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: #eeeeee;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Setting up variable value - Should be of the variable data type&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: #eeeeee;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;For Loop&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: #eeeeee;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Setting up properties for various objects dynamically especially Connection Strings for various Connection Managers&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: #eeeeee;"&gt;&lt;b&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Derived Column Transform&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;(most often used here)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: #eeeeee;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Conditional Split&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style="margin: 0px;"&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Sample expressions:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="color: #e69138; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Get today’s date in the format DD/MM/YYYY&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;div class="MsoNormal" style="margin-right: -1in;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;RIGHT("0" + (DT_WSTR,2)DAY(GETDATE()),2) + "/" + RIGHT("0" + (DT_WSTR,2)MONTH(DATEADD("d",&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;wbr&gt;&lt;/wbr&gt;31,GETDATE())),2) + "/" + (DT_WSTR,4)YEAR(GETDATE())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -1in;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;/div&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Pad a string with zeroes on the left(output length-10)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;RIGHT((“0000000000”+“STRING”),10)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #f6b26b;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;or&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -1in;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;REPLICATE("0",10 - LEN("String")) + "STRING"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -1in;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Convert date of input string column to date time. Validate that if its value is NULL or empty or illegal date it should be converted to Null date.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ISNULL([Column 0]) || LEN(TRIM((DT_WSTR,10)[Column 0])) == 0 || [Column 0]==”00-00-0000” ? NULL(DT_DATE) : (DT_DBDATE)((DT_WSTR,10)[&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;wbr&gt;&lt;/wbr&gt;Column 0])&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Create file name with the current time stamp in the format: FileName_YY-MM-DD-HHMMSS.txt&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;"FileName_" + SUBSTRING((DT_WSTR,30)GETDATE(&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;wbr&gt;&lt;/wbr&gt;),1,10) + SUBSTRING((DT_WSTR,30)GETDATE(&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;wbr&gt;&lt;/wbr&gt;),12,2) + SUBSTRING((DT_WSTR,30)GETDATE(&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;wbr&gt;&lt;/wbr&gt;),15,2) + SUBSTRING((DT_WSTR,30)GETDATE(&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;wbr&gt;&lt;/wbr&gt;),18,2) + ".txt"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="display: inline! important; margin-right: -13.5pt;"&gt;
&lt;div style="display: inline! important; margin: 0px;"&gt;
&lt;div style="display: inline! important;"&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Get the difference of the date in a column w.r.t. today’s date&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;DATEDIFF("d",(DT_DATE)(&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;wbr&gt;&lt;/wbr&gt;SUBSTRING([Column 0],10,2) + "-" + SUBSTRING([Column 0],12,2) + "-" + SUBSTRING([Column 0],6,4)),GETDATE())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="display: inline! important; margin-right: -13.5pt;"&gt;
&lt;div style="display: inline! important; margin: 0px;"&gt;
&lt;div style="display: inline! important;"&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;If length of a column or variable is zero set its value to “asd” else set it to the variable value.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;LEN([Column 0]) == 0 ? "asd" : [Column 0]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="display: inline! important; margin-right: -13.5pt;"&gt;
&lt;div style="display: inline! important; margin: 0px;"&gt;
&lt;div style="display: inline! important;"&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FindString function:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FINDSTRING("111abcda","aa",1)&amp;nbsp; this will give 0&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FINDSTRING("111abcda","a",1) this will give 4&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FINDSTRING("111abcda","a",2) this will give 8&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="font-family: arial, sans-serif;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Check if a string contains a value do Step1 else Step2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FINDSTRING("111abcda","aa",1) &amp;gt;0? Step1&lt;/span&gt;&lt;/span&gt;&lt;step1&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; : Step2&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp; &lt;step2&gt;&lt;/step2&gt;&lt;/span&gt;&lt;/span&gt;&lt;/step1&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span style="color: #e69138;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Set File name in the following format: FileName_MMMDD_YYYY.txt (FileName_Nov23_2009.txt)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-right: -13.5pt;"&gt;
&lt;div style="margin: 0px;"&gt;
&lt;span style="color: black; font-family: arial, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;"FileName_" + (MONTH(GETDATE()) == 1 ? "Jan" : MONTH(GETDATE()) == 2 ? "Feb" : MONTH(GETDATE()) == 3 ? "Mar" : MONTH(GETDATE()) == 4 ? "Apr" : MONTH(GETDATE()) == 5 ? "May" : MONTH(GETDATE()) == 6 ? "Jun" : MONTH(GETDATE()) == 7 ? "Jul" : MONTH(GETDATE()) == 8 ? "Aug" : MONTH(GETDATE()) == 9 ? "Sep" : MONTH(GETDATE()) == 10 ? "Oct" : MONTH(GETDATE()) == 11 ? "Nov" : MONTH(GETDATE()) == 12 ? "Dec" : "InvalidMonth") + (DT_WSTR,3)DAY(GETDATE()) + "_" + (DT_WSTR,5)YEAR(GETDATE()) + ".txt"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; font-family: arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;div style="margin: 0px;"&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="color: #e69138;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Functions available to create EXPRESSIONS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;I will talk about some of the most commonly used functions in the next section.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: 4.55pt; width: 421px;"&gt; &lt;tbody&gt;
&lt;tr style="height: 31.5pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt; &lt;td colspan="3" nowrap="" style="background: #1f497d; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-alt: solid windowtext .5pt; mso-border-right-alt: solid black .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 315.85pt;" width="421"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;b&gt;&lt;span style="color: #e69138; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Mathematical Functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 31.5pt; mso-yfti-irow: 1;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FUNCTION &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Result &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;DataType&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 2;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;ROUND( 2.23 , 2 ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 3;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;ROUND( 2.53 , 2 ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 4;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;CEILING(2.23 )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Numeric&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 5;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FLOOR(2.9)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Numeric&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 6;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;ABS(3.2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Numeric&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 7;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;ABS(3.9)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Numeric&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 8;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;ABS(-3.2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Numeric&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 9; mso-yfti-lastrow: yes;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 165.05pt;" valign="bottom" width="220"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;ABS(-3.9)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 62.2pt;" valign="bottom" width="83"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 88.6pt;" valign="bottom" width="118"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Numeric&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: 4.55pt; width: 421px;"&gt; &lt;tbody&gt;
&lt;tr style="height: 31.5pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt; &lt;td colspan="3" nowrap="" style="background: #1f497d; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-alt: solid windowtext .5pt; mso-border-right-alt: solid black .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 315.85pt;" width="421"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;b&gt;&lt;span style="color: #e69138; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;String Functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 31.5pt; mso-yfti-irow: 1;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FUNCTION &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Result &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;DataType&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 2;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;LOWER( "ABD" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;abc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 3;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;UPPER( "abd" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;ABD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 4;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;LTRIM( "&amp;nbsp;&amp;nbsp;&amp;nbsp; abc&amp;nbsp;&amp;nbsp; " )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"abc&amp;nbsp;&amp;nbsp; "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 5;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;RTRIM( "&amp;nbsp;&amp;nbsp; abc&amp;nbsp;&amp;nbsp; " )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"&amp;nbsp;&amp;nbsp; abc"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 6;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;TRIM( "&amp;nbsp;&amp;nbsp; abc&amp;nbsp;&amp;nbsp; " )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"abc"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 7;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;REVERSE( "abc" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"cba"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 8;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;RIGHT( abc, 2 )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"bc"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 9;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;SUBSTRING( "abcde", 2 , 3 ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"bcd"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 10;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;REPLICATE("a",3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"aaa"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 11;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FINDSTRING("abcd","ab",1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;&lt;strike&gt;"ab"&lt;/strike&gt; 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 12; mso-yfti-lastrow: yes;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 185.35pt;" valign="bottom" width="247"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;REPLACE("Apple", "pp", "n app")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 63pt;" valign="bottom" width="84"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;"An apple"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 67.5pt;" valign="bottom" width="90"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt; &lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: 4.55pt; width: 403px;"&gt; &lt;tbody&gt;
&lt;tr style="height: 31.5pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt; &lt;td colspan="3" nowrap="" style="background: #1f497d; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-alt: solid windowtext .5pt; mso-border-right-alt: solid black .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 302.35pt;" width="403"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;b&gt;&lt;span style="color: #e69138; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Date/Time Functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 31.5pt; mso-yfti-irow: 1;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FUNCTION &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Result &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;DataType&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 32.35pt; mso-yfti-irow: 2;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 32.35pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEADD( "mm", 1, (DT_DATE)"12/24/2009" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 32.35pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;1/24/2010 0:00&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 32.35pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;DateTime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 35.05pt; mso-yfti-irow: 3;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 35.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEADD( "dd", -1, (DT_DATE)"12/24/2009" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;12/23/2009 0:00&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;DateTime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 35.5pt; mso-yfti-irow: 4;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 35.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEADD( "yy", 1, (DT_DATE)"12/24/2009" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;12/24/2010 0:00&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;DateTime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 53.5pt; mso-yfti-irow: 5;"&gt; &lt;td style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 53.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEDIFF( "dd", (DT_DATE)"12/24/2009", DT_DATE)"01/26/2010" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 53.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;33&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 53.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 49pt; mso-yfti-irow: 6;"&gt; &lt;td style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 49pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEDIFF( "mm", (DT_DATE)"12/24/2009", (DT_DATE)"01/26/2010" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 49pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 49pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 44.5pt; mso-yfti-irow: 7;"&gt; &lt;td style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 44.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEDIFF( "yy", (DT_DATE)"12/24/2009", (DT_DATE)"01/26/2010" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 44.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 44.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 35.05pt; mso-yfti-irow: 8;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 35.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEPART( "dd", (DT_DATE)"12/24/2009" ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;24&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 35.95pt; mso-yfti-irow: 9;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 35.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEPART( "mm", (DT_DATE)"12/24/2009" ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;12&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 36.85pt; mso-yfti-irow: 10;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 36.85pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DATEPART( "yy", (DT_DATE)"12/24/2009" ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 36.85pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;2009&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 36.85pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 31.45pt; mso-yfti-irow: 11;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.45pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;DAY( (DT_DATE)"12/24/2009" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.45pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;24&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.45pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 35.5pt; mso-yfti-irow: 12;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 35.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;MONTH( (DT_DATE)"12/24/2009" )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;12&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 35.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 40pt; mso-yfti-irow: 13; mso-yfti-lastrow: yes;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 40pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 167.35pt;" valign="bottom" width="223"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 10pt;"&gt;YEAR( (DT_DATE)"12/24/2009" ) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 40pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 76.5pt;" valign="bottom" width="102"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;2009&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 40pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 58.5pt;" valign="bottom" width="78"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black; font-size: 10pt;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: 4.55pt; width: 394px;"&gt; &lt;tbody&gt;
&lt;tr style="height: 31.5pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt; &lt;td colspan="3" nowrap="" style="background: #1f497d; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-alt: solid windowtext .5pt; mso-border-right-alt: solid black .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 295.65pt;" width="394"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;b&gt;&lt;span style="color: #e69138; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;NULL Functions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 31.5pt; mso-yfti-irow: 1;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 135.85pt;" valign="bottom" width="181"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FUNCTION &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 69.8pt;" valign="bottom" width="93"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Result &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 1.25in;" valign="bottom" width="120"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;DataType&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 2;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 135.85pt;" valign="bottom" width="181"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;ISNULL( «expression» )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 69.8pt;" valign="bottom" width="93"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;TRUE/FALSE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 1.25in;" valign="bottom" width="120"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;Boolean &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 3; mso-yfti-lastrow: yes;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 135.85pt;" valign="bottom" width="181"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;NULL(DT_DATE) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 69.8pt;" valign="bottom" width="93"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;NULL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 1.25in;" valign="bottom" width="120"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;span style="color: black;"&gt;DateTime&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: 4.55pt; width: 289px;"&gt; &lt;tbody&gt;
&lt;tr style="height: 31.5pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt; &lt;td nowrap="" style="background: #1f497d; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-alt: solid windowtext .5pt; mso-border-right-alt: solid black .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 216.85pt;" width="289"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;b&gt;&lt;span style="color: #e69138; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Type Casts&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 31.5pt; mso-yfti-irow: 1;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 216.85pt;" valign="bottom" width="289"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FUNCTION &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 2;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 216.85pt;" valign="bottom" width="289"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;(DT_STR, «length», «code_page»)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 3;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 216.85pt;" valign="bottom" width="289"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;(DT_WSTR, «length»)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 4;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 216.85pt;" valign="bottom" width="289"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;(DT_NUMERIC, «precision», «scale»)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 5; mso-yfti-lastrow: yes;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 216.85pt;" valign="bottom" width="289"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;(DT_DECIMAL, «scale») &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: 4.55pt; width: 421px;"&gt; &lt;tbody&gt;
&lt;tr style="height: 31.5pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt; &lt;td colspan="2" nowrap="" style="background: #1f497d; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-alt: solid windowtext .5pt; mso-border-right-alt: solid black .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 315.85pt;" width="421"&gt;&lt;div align="center" class="MsoNormal" style="line-height: normal; margin-bottom: 0in; text-align: center;"&gt;
&lt;b&gt;&lt;span style="color: #e69138; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Operators&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 31.5pt; mso-yfti-irow: 1;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 82.5pt;" valign="bottom" width="110"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;FUNCTION &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 31.5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 233.35pt;" valign="bottom" width="311"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;b&gt;&lt;span style="color: #538ed5; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;Comments&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 2;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 82.5pt;" valign="bottom" width="110"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;?:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 233.35pt;" valign="bottom" width="311"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif;"&gt;If then Else -&amp;gt; "Condition"&lt;condition&gt;?"True Action"&lt;if action="" true=""&gt;&lt;true&gt;: "False Action"&lt;false&gt;&lt;/false&gt;&lt;/true&gt;&lt;/if&gt;&lt;/condition&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 3;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 82.5pt;" valign="bottom" width="110"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;&amp;amp;&amp;amp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 233.35pt;" valign="bottom" width="311"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
Logical AND&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0.25in; mso-yfti-irow: 4; mso-yfti-lastrow: yes;"&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 82.5pt;" valign="bottom" width="110"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
&lt;span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-size: 12pt;"&gt;||&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt; &lt;td nowrap="" style="border-bottom: windowtext 1pt solid; border-left-style: none; border-right: windowtext 1pt solid; border-top-style: none; height: 0.25in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 233.35pt;" valign="bottom" width="311"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"&gt;
Logical OR&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-7802740705546595243?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=oejX9cRLXW0:qHdhPupkMLk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=oejX9cRLXW0:qHdhPupkMLk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=oejX9cRLXW0:qHdhPupkMLk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=oejX9cRLXW0:qHdhPupkMLk:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=oejX9cRLXW0:qHdhPupkMLk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=oejX9cRLXW0:qHdhPupkMLk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/oejX9cRLXW0" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-08T03:43:40.321+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2009/11/expressions.html</feedburner:origLink></item><item><title>SSIS help</title><link>http://feedproxy.google.com/~r/SudeepsDomain/~3/wmcifvpOTx4/ssis-help.html</link><author>noreply@blogger.com (Sudeep Raj)</author><pubDate>Wed, 18 Nov 2009 12:42:25 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6609037771626084369.post-4710669452558541809</guid><description>Hi,&lt;br /&gt;If you need any kind of help on SSIS do feel free to contact me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6609037771626084369-4710669452558541809?l=rajsudeep.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=wmcifvpOTx4:ieJpNQe2ZwY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=wmcifvpOTx4:ieJpNQe2ZwY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=wmcifvpOTx4:ieJpNQe2ZwY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=wmcifvpOTx4:ieJpNQe2ZwY:G79ilh31hkQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?d=G79ilh31hkQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SudeepsDomain?a=wmcifvpOTx4:ieJpNQe2ZwY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SudeepsDomain?i=wmcifvpOTx4:ieJpNQe2ZwY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SudeepsDomain/~4/wmcifvpOTx4" height="1" width="1"/&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-19T02:12:25.453+05:30</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total><feedburner:origLink>http://rajsudeep.blogspot.com/2009/11/ssis-help.html</feedburner:origLink></item><media:rating>nonadult</media:rating></channel></rss>

