<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SSIS &#8211; Using a Script Component as a Source</title>
	<atom:link href="http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/</link>
	<description>Random thoughts and experiences with SSIS, by Phil Brammer</description>
	<lastBuildDate>Wed, 25 Jan 2012 10:27:44 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ziv</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-46218</link>
		<dc:creator>Ziv</dc:creator>
		<pubDate>Wed, 28 Dec 2011 16:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-46218</guid>
		<description>Hi
I got SSIS package(dtsx). on the control flow i create script task. every time I get in to (edit script) I need to configure the default reference path(project-&gt; properties-&gt; reference path) to be able to compile the script. the problem is that i cant debug the code. this is the only work station its happen in my team.
what do i need to do?

thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
I got SSIS package(dtsx). on the control flow i create script task. every time I get in to (edit script) I need to configure the default reference path(project-&gt; properties-&gt; reference path) to be able to compile the script. the problem is that i cant debug the code. this is the only work station its happen in my team.<br />
what do i need to do?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashleigh Beitzel</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-42561</link>
		<dc:creator>Ashleigh Beitzel</dc:creator>
		<pubDate>Sat, 03 Dec 2011 11:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-42561</guid>
		<description>I believe this is one of the so much vital information for me. And i&#039;m satisfied studying your article. However want to remark on few common issues, The web site style is wonderful, the articles is really excellent : D. Good job, cheers</description>
		<content:encoded><![CDATA[<p>I believe this is one of the so much vital information for me. And i&#8217;m satisfied studying your article. However want to remark on few common issues, The web site style is wonderful, the articles is really excellent : D. Good job, cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-33880</link>
		<dc:creator>Sandeep</dc:creator>
		<pubDate>Mon, 12 Sep 2011 15:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-33880</guid>
		<description>I have a problem.. can someone please help.. I have a data source whose output is fed to a script component. The problem is when there are any new columns are added to the source. ScriptComponent does not take the newly added columns as inputs automatically. we should manually check the input columns. Is there a solution to do it automated. I cannot modify the ScriptComponent everytime a new column is added or Is there any other way to do it in SSIS?</description>
		<content:encoded><![CDATA[<p>I have a problem.. can someone please help.. I have a data source whose output is fed to a script component. The problem is when there are any new columns are added to the source. ScriptComponent does not take the newly added columns as inputs automatically. we should manually check the input columns. Is there a solution to do it automated. I cannot modify the ScriptComponent everytime a new column is added or Is there any other way to do it in SSIS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tawana Tiley</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-33069</link>
		<dc:creator>Tawana Tiley</dc:creator>
		<pubDate>Sat, 03 Sep 2011 06:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-33069</guid>
		<description>I&#039;ve been on your site for a while, and really like it. I guess its about time I let you know my appreciation. Keep up the good work. This answered some questions I had. Is there an RSS feed I can subscribe to?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been on your site for a while, and really like it. I guess its about time I let you know my appreciation. Keep up the good work. This answered some questions I had. Is there an RSS feed I can subscribe to?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seo link building service</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-17086</link>
		<dc:creator>seo link building service</dc:creator>
		<pubDate>Wed, 30 Mar 2011 13:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-17086</guid>
		<description>Neat writing style, did you take a college course for it?</description>
		<content:encoded><![CDATA[<p>Neat writing style, did you take a college course for it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coleman Cantell</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-13081</link>
		<dc:creator>Coleman Cantell</dc:creator>
		<pubDate>Mon, 17 Jan 2011 20:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-13081</guid>
		<description></description>
		<content:encoded><![CDATA[]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-6446</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Mon, 20 Sep 2010 16:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-6446</guid>
		<description>Please help me here!!

I have this URL where there is XML data. I have to extract that data from URL and dump it into DW table. I am using SSIS Script Task for that. OR is it better to use Script Component as Data SOurce in DFT? 
I am not good with Scripting.

This is how the data looks like:

-

 AED

 United Arab Emirates Dirhams

 3.6732001305

 0.2722421770



−

 AFN

 Afghanistan Afghanis

 44.0000000000

 0.0227272727



−

 ALL

 Albania Leke

 104.4100000001

 0.0095776267



This is the code i&#039;m using to load it into some Object type or something. 

 public void Main()
    {
        String URLString = &quot;http://www.xe.com/dfs/datafeed2.cgi?beeline&quot;;
        XmlDocument doc = new XmlDocument();
        XmlTextReader reader = new XmlTextReader(URLString);
        doc.Load(reader);

        XmlNodeList currencynodes = doc.SelectNodes(&quot;currency&quot;);
        foreach(XmlNode currency in currencynodes)
        {
            XmlNode csymbol = currency.SelectSingleNode(&quot;csymbol&quot;);
            string csymbolvalue = csymbol.Value;

            XmlNode cname = currency.SelectSingleNode(&quot;cname&quot;);
            string cnamevalue = cname.Value;

            XmlNode crate = currency.SelectSingleNode(&quot;crate&quot;);
            string cratevalue = crate.Value;

            XmlNode cinverse = currency.SelectSingleNode(&quot;cinverse&quot;);
            string cinversevalue = cinverse.Value;

            Dts.Variables[&quot;User::oCurrencyConversion&quot;].Value = csymbol.Value;
        }


Help appreciated. Thanks</description>
		<content:encoded><![CDATA[<p>Please help me here!!</p>
<p>I have this URL where there is XML data. I have to extract that data from URL and dump it into DW table. I am using SSIS Script Task for that. OR is it better to use Script Component as Data SOurce in DFT?<br />
I am not good with Scripting.</p>
<p>This is how the data looks like:</p>
<p>-</p>
<p> AED</p>
<p> United Arab Emirates Dirhams</p>
<p> 3.6732001305</p>
<p> 0.2722421770</p>
<p>−</p>
<p> AFN</p>
<p> Afghanistan Afghanis</p>
<p> 44.0000000000</p>
<p> 0.0227272727</p>
<p>−</p>
<p> ALL</p>
<p> Albania Leke</p>
<p> 104.4100000001</p>
<p> 0.0095776267</p>
<p>This is the code i&#8217;m using to load it into some Object type or something. </p>
<p> public void Main()<br />
    {<br />
        String URLString = &#8220;http://www.xe.com/dfs/datafeed2.cgi?beeline&#8221;;<br />
        XmlDocument doc = new XmlDocument();<br />
        XmlTextReader reader = new XmlTextReader(URLString);<br />
        doc.Load(reader);</p>
<p>        XmlNodeList currencynodes = doc.SelectNodes(&#8220;currency&#8221;);<br />
        foreach(XmlNode currency in currencynodes)<br />
        {<br />
            XmlNode csymbol = currency.SelectSingleNode(&#8220;csymbol&#8221;);<br />
            string csymbolvalue = csymbol.Value;</p>
<p>            XmlNode cname = currency.SelectSingleNode(&#8220;cname&#8221;);<br />
            string cnamevalue = cname.Value;</p>
<p>            XmlNode crate = currency.SelectSingleNode(&#8220;crate&#8221;);<br />
            string cratevalue = crate.Value;</p>
<p>            XmlNode cinverse = currency.SelectSingleNode(&#8220;cinverse&#8221;);<br />
            string cinversevalue = cinverse.Value;</p>
<p>            Dts.Variables["User::oCurrencyConversion"].Value = csymbol.Value;<br />
        }</p>
<p>Help appreciated. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-5708</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Wed, 08 Sep 2010 03:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-5708</guid>
		<description>Need to write VBscript in script task in SSIS to check the data for DATE and previous dates not downloaded..

Help Appreciated.....</description>
		<content:encoded><![CDATA[<p>Need to write VBscript in script task in SSIS to check the data for DATE and previous dates not downloaded..</p>
<p>Help Appreciated&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-3989</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Wed, 14 Jul 2010 15:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-3989</guid>
		<description>Is there a way that a .Net DataTable can be assigned directly to a data buffer in the script. Although I see that the BufferWrapper class doesn&#039;t have any such method.

Something like,
for each(dt as DataTable in myDataSet.Tables)
    TestSSISInsertBuffer = dt
Next

Adding data row by row to the buffer would degrade performance, I believe. Or am I missing an alternative that can map my data table data directly to database?
Thanks.</description>
		<content:encoded><![CDATA[<p>Is there a way that a .Net DataTable can be assigned directly to a data buffer in the script. Although I see that the BufferWrapper class doesn&#8217;t have any such method.</p>
<p>Something like,<br />
for each(dt as DataTable in myDataSet.Tables)<br />
    TestSSISInsertBuffer = dt<br />
Next</p>
<p>Adding data row by row to the buffer would degrade performance, I believe. Or am I missing an alternative that can map my data table data directly to database?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudeep Raj</title>
		<link>http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/comment-page-1/#comment-2567</link>
		<dc:creator>Sudeep Raj</dc:creator>
		<pubDate>Wed, 10 Mar 2010 04:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssistalk.com/2007/04/04/ssis-using-a-script-component-as-a-source/#comment-2567</guid>
		<description>Hi Athar,
What you need to do is remove the msgbox from the package. and make use of SSIS Configuration. Once it is set up the people running the job just need to modify the config file and the package would work the same way.</description>
		<content:encoded><![CDATA[<p>Hi Athar,<br />
What you need to do is remove the msgbox from the package. and make use of SSIS Configuration. Once it is set up the people running the job just need to modify the config file and the package would work the same way.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

