<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server Wave &#187; SSIS</title>
	<atom:link href="http://www.sqlserverwave.com/category/ssis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlserverwave.com</link>
	<description>Views and Tips on SQL Server</description>
	<lastBuildDate>Fri, 22 Jul 2011 07:48:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Two-character month and day in Expression Builder</title>
		<link>http://www.sqlserverwave.com/2010/07/22/two-character-month-and-day-in-expression-builder/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=two-character-month-and-day-in-expression-builder</link>
		<comments>http://www.sqlserverwave.com/2010/07/22/two-character-month-and-day-in-expression-builder/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 10:30:53 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[SSIS]]></category>

		<guid isPermaLink="false">http://www.sqlserverwave.com/?p=232</guid>
		<description><![CDATA[I needed to set a variable to YYYYMMDD. When using the Month() and Day() function in Expression Builder, it returned a single character back when the value was less than 10. So the value I was getting back was YYYYMD using the following expression: (DT_WSTR, 4) YEAR( GETDATE()  ) + (DT_WSTR,2)DatePart("m", getdate()) + (DT_WSTR,2)DatePart("d", getdate()) [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to set a variable to YYYYMMDD.</p>
<p>When using the Month() and Day() function in Expression Builder, it returned a single character back when the value was less than 10. So the value I was getting back was YYYYMD using the following expression:</p>
<pre>(DT_WSTR, 4) YEAR( GETDATE()  ) + (DT_WSTR,2)DatePart("m", getdate()) + (DT_WSTR,2)DatePart("d", getdate())
</pre>
<p>The workaround is to use the RIGHT() function:</p>
<pre>(DT_WSTR, 4) YEAR( GETDATE()  ) + RIGHT("0" + (DT_WSTR,2)DatePart("m", getdate()), 2) + RIGHT("0" + (DT_WSTR,2)DatePart("d", getdate()), 2)
</pre>
<p>The above will return the right format: YYYYMMDD.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlserverwave.com/2010/07/22/two-character-month-and-day-in-expression-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSIS 2008 Error &#8211; The Microsoft ACE.OLEDB.12.0 provider is not registered on the local machine</title>
		<link>http://www.sqlserverwave.com/2009/12/16/ssis-2008-error-the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssis-2008-error-the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine</link>
		<comments>http://www.sqlserverwave.com/2009/12/16/ssis-2008-error-the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 16:36:36 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[SSIS]]></category>

		<guid isPermaLink="false">http://www.sqlserverwave.com/?p=99</guid>
		<description><![CDATA[I recently upgraded one of my Data Import SSIS 2005 package to 2008. That package ran fine in VS2005. Visual Studio 2008 happily upgraded it to the latest version with the usual Provider upgrade warnings, Provider=SQLNCLI10.1; there was no particular mention of the above error.

The package contains a connection to a 2007 excel file, here is how it looks like...]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded one of my Data Import SSIS 2005 package to 2008. That package ran fine in VS2005. Visual Studio 2008 happily upgraded it to the latest version with the usual Provider upgrade warnings, Provider=SQLNCLI10.1; there was no particular mention of the above error.</p>
<p>The package contains a connection to a 2007 excel file, here is how it looks like:</p>
<div id="attachment_103" class="wp-caption aligncenter" style="width: 427px"><img class="size-full wp-image-103" title="Package" src="http://www.sqlserverwave.com/wp-content/uploads/2009/12/VS2008_001.png" alt="package" width="417" height="345" /><p class="wp-caption-text">package</p></div>
<p>So here is the error popup I got when I clicked the preview button, the Excel Connection Manager was failing to connect to the file:</p>
<div id="attachment_101" class="wp-caption aligncenter" style="width: 594px"><img class="size-full wp-image-101 " title="Microsoft.ACE.OLEDB.12.0 is not registered" src="http://www.sqlserverwave.com/wp-content/uploads/2009/12/VS2008_01.png" alt="Microsoft.ACE.OLEDB.12.0 is not registered" width="584" height="572" /><p class="wp-caption-text">Microsoft.ACE.OLEDB.12.0 is not registered</p></div>
<p>Solution:</p>
<p>Download the latest &#8220;2007 Office System Driver: Data Connectivity Components&#8221;  from <a title="2007 Office System Driver: Data Connectivity Components" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&amp;displaylang=en" target="_blank">here</a> and install it.</p>
<p>After the install, I could happily preview the data in the excel file.</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sqlserverwave.com/2009/12/16/ssis-2008-error-the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

